Operating System - HP-UX
1752604 Members
4390 Online
108788 Solutions
New Discussion

Re: Cronjob not run after changed server date

 
SOLVED
Go to solution
Fauziah Mahdan
Super Advisor

Cronjob not run after changed server date

Dear all,

 

I changed server date to future date for some reason/testing.

Revert back to current date and found out the cronjob is not working.

 

Pls help

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Cronjob not run after changed server date

Cron may have just gotten confused with the date changes.

 

Stop and restart cron and see if that helps.

 

# /sbin/init.d/cron stop

 

Make sure there are no cron processes running.

# ps -ef | grep cron

 

 

# /sbin/init.d/cron start

Fauziah Mahdan
Super Advisor

Re: Cronjob not run after changed server date

TQ.

At the same time I recreate the cronjob and it work.

TQ again

Patrick Wallek
Honored Contributor

Re: Cronjob not run after changed server date

Have you checked the 'cron' log file to see what it says?  The file is /var/adm/cron/log.