FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-10-2011, 09:04 PM
mcclnx mcc
 
Default {Q} Relate to daylight saving time on Nov. 6 cron job

We have CENTOS 4.X and 5.X on DELL servers. On Nov. 6, 2:00 A.M. will change to 1:00 A.M.

If I have cron job on 1:20 A.M., will it run twice?

Thanks.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-10-2011, 09:08 PM
Bowie Bailey
 
Default {Q} Relate to daylight saving time on Nov. 6 cron job

On 10/10/2011 5:04 PM, mcclnx mcc wrote:
> We have CENTOS 4.X and 5.X on DELL servers. On Nov. 6, 2:00 A.M. will change to 1:00 A.M.
>
> If I have cron job on 1:20 A.M., will it run twice?

$ man cron

...

Daylight Saving Time and other time changes
Local time changes of less than three hours, such as those caused
by the start or end of Daylight Saving Time,
are handled specially. This only applies to jobs that run at a
specific time and jobs that are run with a
granularity greater than one hour. Jobs that run more frequently
are scheduled normally.

If time has moved forward, those jobs that would have run in
the interval that has been skipped will be run
immediately. Conversely, if time has moved backward, care is
taken to avoid running jobs twice.

Time changes of more than 3 hours are considered to be
corrections to the clock or timezone, and the new time
is used immediately.

--
Bowie
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org