Friday, November 7, 2014

cronjob is running at wrong timezone

cronjob time zone is wrong

First check hardware time and timezone using command
hwclock
If it is different than system time, it may be possible that your cron is following hardware time.

Set your hardware clock time same as system time using command
hwclock -w
Now check if cron is following correct time zone.

If you are still facing problem, Restart cron daemon once.
You need to restart cron when you change your time zone.

If you are still facing problem, Restart your system once.

No comments:

Post a Comment