tags:

views:

371

answers:

3

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?

A: 

You have probably already checked this, but was the time changed correctly on the server?

Darryl Hein
yes, the time changed on the server. The run-time of my job is changed relative to the server.
David Nehme
So, you're saying the time of the cron jobs changed to 1 hour later when the time changed?
Darryl Hein
+1  A: 

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.

Brian Leahy
+1  A: 

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.

Douglas Leeder