cancel
Showing results for 
Search instead for 
Did you mean: 

crontab job is not run

elainelaw
Occasional Contributor

crontab job is not run

I use RHEL 3 server , I have reboot the server , now the cronjob is not run ( check from /var/log/cron ) , I have just restart the crond but still found the cronjob is not run , can advise what is wrong ? thx
4 REPLIES
Jeeshan
Honored Contributor

Re: crontab job is not run

check with command

# service crond status

and

#chkconfig crond on
a warrior never quits
elainelaw
Occasional Contributor

Re: crontab job is not run

thx reply ,

when use your command to check , it show the crond is running , I don't know what is wrong , can advise except reboot the server , how can I restart all service / daemon one time ? thx
Jeeshan
Honored Contributor

Re: crontab job is not run

you don't need to restart all the services or daemon.

Just restart the crond and check you have entries you have crontab using crontab -l

Is your cron log is directed to /var/log/crob?

check /etc/syslog.conf file.

which user you run the cron job?

try to run the job using CLI mode directly.
a warrior never quits
skt_skt
Honored Contributor

Re: crontab job is not run

try restarting the crond and watch the /var/log/messages as well the cron log. There should be some clue there if that really fails..