Reputation: 21597
My cron job is running an hour later after end of DST. This didn't happen to other user's jobs on the same machine (AIX). What am I doing wrong?
Upvotes: 2
Views: 1051
Reputation: 53320
I think the first thing to find out is the timezone that cron is running under:
0 1 * * * (/usr/bin/date ; /usr/bin/date -u) > ~/cron.out
You might also want to get one of the users whose cron jobs are working to do it as well.
Upvotes: 2
Reputation: 35527
If you are converting UTC into local time(correctly) and the job is for a non-DST timezone, like Arizona, it will run an hour later, relative to your server.
Upvotes: 1
Reputation: 145037
You have probably already checked this, but was the time changed correctly on the server?
Upvotes: 0