Operating System - HP-UX
1834342 Members
2177 Online
110066 Solutions
New Discussion

Re: root cron ok, root at/batch doesn't

 
SOLVED
Go to solution
AMSA Unix Admin
Advisor

root cron ok, root at/batch doesn't

 
1 REPLY 1
Tracy_5
Advisor
Solution

Re: root cron ok, root at/batch doesn't

Please execute the following commands:

what /usr/bin/at

swlist -l fileset -a state |grep cron

If you have PHCO_24702, this may explain what's happening:

On machines having latest kernel patches (available in Sept-2001 Quality pack)
and the previous at/cron patch( [PHCO_24702/PACHRDME/English]
), atjobs are not getting
executed when any of LANG, LC_ALL, LC_CTYPE are set.
Steps to reproduce the
defect:
1. Start the cron daemon $ /sbin/init.d/cron start
2. Set the LANG to
some locale. $ export LANG=ja_JP.SJIS
3. Initiate an atjob. $ at now <>t.1 EOF
4. Check whether the atjob was executed. $ ll t.1 t.1 not found
Resolution: With the above environment, cron was not able to release the lock on
the atjob file which resulted in a race condition. cron(1M) has been fixed to
remove this race condition.

To resolve this, install the latest cron patch, PHCO_27141

Regards,
Tracy