sanjayroongta
2nd April 2003, 13:44
We have BaaN4c4 with Oracle 8i database. when we try to clear hangged user list with command licmon6.1 -c through crontab in scheduled way it will not processes and given error in /var/crom/log with rc=1. When I try same command with "at" utility it will run perfectly without any error in same log.

anyone can help me, where I am wrong?

rgds
Sanjay

patvdv
2nd April 2003, 14:29
More than likely this is because the 'crontab' has no environment set when executing any jobs. So anything that needs to be defined to make 'licmon' work must be added to your cron job entry. Typical environment variables would be BSE, BSE_TMP, PATH etc.

sanjayroongta
3rd April 2003, 12:09
Thanx, Problem resolved.

rgds
Sanjay