rduncan10
27th January 2010, 20:08
I have a situation where, from time to time, a batch job user will not be logged out of the system when the Baan batch job is finished running. is there anyway to force the user to log out?
We are using SUSE Linux, and the Baan jobs are run from cron. The crontab entry is like this: /baan/bse/etc/rc.startjob JOBNAME
The job in question runs every quarter of an hour. The job usually only takes a minute or two to run. Usually there is no problem: the job runs fine and the cron logs the user out when its done.
But from time to time cron won't log the user out. The job keeps running on schedule, and the next time it runs, another instance of the user is created and left logged in. Eventually we run out of licenses.
There are no errors reported in the Baan job messages, Baan logs or Linux system logs. The sessions in the job all run.
Is there a way to prevent this from happening?
Thanks,
Rob
We are using SUSE Linux, and the Baan jobs are run from cron. The crontab entry is like this: /baan/bse/etc/rc.startjob JOBNAME
The job in question runs every quarter of an hour. The job usually only takes a minute or two to run. Usually there is no problem: the job runs fine and the cron logs the user out when its done.
But from time to time cron won't log the user out. The job keeps running on schedule, and the next time it runs, another instance of the user is created and left logged in. Eventually we run out of licenses.
There are no errors reported in the Baan job messages, Baan logs or Linux system logs. The sessions in the job all run.
Is there a way to prevent this from happening?
Thanks,
Rob