1752794 Members
6282 Online
108789 Solutions
New Discussion юеВ

crontab

 
SOLVED
Go to solution
Sajjad Shafi
Advisor

crontab

OS Info:
HP-UX B.10.20 A 9000/804 445684381
two-user license

Issue:
Nothing is working from crontab. it was working all the time.Since Sept 6th 2006 it stopped working. I run script to take logical export of oracle db. It is registered in crontab. All of a sudden it does not work. I run script independently it runs. but not from cron. i added some test entry in the crontab. but nothing is getting executed.
Can anybody help in this issue.
I am really feeling very stupid right now.

Thanks

5 REPLIES 5
Kofi ARTHIABAH
Honored Contributor
Solution

Re: crontab

Can you verify that your cron daemon is working

ps -ef | grep cron

if its not listed, then you want to start it with /sbin/init.d/cron start

you might want to look into your /var/adm/syslog/syslog.log for tell-tale signs of why it stopped working. Also check the /var/adm/cron/log file to see other clues.

Good luck
nothing wrong with me that a few lines of code cannot fix!
IT_2007
Honored Contributor

Re: crontab

It seems somebody might have killed cron daemon. check it and restart if not running. check syslog.log and /var/adm/cron/log files.
Sajjad Shafi
Advisor

Re: crontab

i restarted the cron service . Now it is working. Thanks for the help.
Sajjad Shafi
Advisor

Re: crontab

Restarted cron service
Patrick Wallek
Honored Contributor

Re: crontab

In addition to verifying that cron is actually running. Also check your /var/adm/cron/log file to see if there is anything useful in it.