Cron and Summer/winter time

Joel Jaeggli joelja at darkwing.uoregon.edu
Wed Apr 26 23:31:55 UTC 2006


On Wed, 26 Apr 2006, Chris Ruprecht wrote:

> Guys,
>
> I'm sure there is a solution for this:
> When I schedule a daily job to run at 1:30 AM and we switch from Winter to
> Summer time, the job doesn't run, because when the clock reaches 1 AM it's
> suddenly 2 AM and 1:30 AM never happens.
>
> The same job would run twice, when we switch back because when it's 2 AM, it
> has already run 30 minutes before, but then it's suddenly 1 AM again and
> it'll run again in 30 minutes.
>
> For simple clean-up jobs, this might be acceptable, but when running more
> complex jobs that need to run once and only once per day, this isn't going to
> work too well.
>
> Any ideas?

Use UTC on all your servers, set local time zone inside your shell 
(assuming you care). Daylight saving is really a convention for people not 
machines anyway.

> Chris
>
>

-- 
--------------------------------------------------------------------------
Joel Jaeggli  	       Unix Consulting 	       joelja at darkwing.uoregon.edu
GPG Key Fingerprint:     5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2




More information about the fedora-list mailing list