Cron job not running on specified time

cron

I've a cron job that should run every day at 1700 hours from Saturday to Sunday. However, it runs on the system at 0100 hours instead.

The schedule descriptor string used to define the table for this particular job in question is: 0 17 * * 0-6

The system on which this crontab exists is CentOS 5.2 with ISC Cron V4.1 running on it. I did, recently, change the timezone on the system from PDT to BST by creating a symbolic link at /etc/localtime pointing to /usr/share/zoneinfo/GB. However, I do not believe that to have caused this problem as I remember the cron job running at 0100 hours before.

Any insights? I'd appreciate any help I could get on this. Thank you.

Best Answer

Crond is likely still in the old timezone, restart it (from a shell with the right timezone) to pick up the new TZ variable.