So, can we maybe look at this a little differently. How about using a true Enterprise Job Scheduler, like Control-M? This type of tool, which we use here at UCB, UCOP, UCSF, UCPath, does all this.
Laurie Graham Production Control Operations Manager UCSF/UCOP/UCB/UCPath Infrastructure Services, IS&T UC Berkeley 2195 Hearst Avenue Berkeley, CA 94720 http://ist.berkeley.edu/is/platforms/pcssc Office: (510) 664-9072 Cell: (510) 685-4435 email: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ted Cabeen Sent: Monday, March 14, 2016 1:32 PM To: Kostadin Ilov <[email protected]>; [email protected] Subject: Re: [Micronet] DST and Cron/At jobs Vixie cron has handled this situation properly for decades. From the cron(8) man page: > Special considerations exist when the clock is changed by less than 3 > hours, for example at the beginning and end of day-light savings time. > If the time has moved forwards, those jobs which would have run in the > time that was skipped will be run soon after the change. > Conversely, if the time has moved backwards by less than 3 hours, > those jobs that fall into the repeated time will not be re-run. --Ted On 3/14/2016 1:28 PM, Kostadin Ilov wrote: > Most of you probably are aware of this phenomenon, so I apologize for > the spam. However, some of you might not and it is important to know > and do plan for it. As you know, US and most of the world do change > time to save money, called DayLightSaving. Soon, in California we may > take this not so sure saving away, but until then, let be prepared. > The problem arise when automatic jobs are scheduled via cron or at ( > or other task scheduler) on Sundays, between 2:00 and 3:00 ( and 1:00 > - 2:00 ). When DST occurs, the time is changed and all jobs in these > intervals will be skipped (or repeated). - spring (forward) - no jobs > will run if scheduled between 2:00 and 3:00 - autumn (back) - double > run of all jobs scheduled between 1:00 and 2:00 Happy croning.. -- > Kostadin Ilov > > Systems Administrator (ASPIRE) a: UCB/EECS, 440/575 Soda Hall e: > [email protected] <mailto:[email protected]> > [email protected] > <mailto:[email protected]> t: +1(510)643-3751 > > > > ---------------------------------------------------------------------- > --- > > The following was automatically added to this message by the list server: > > To learn more about Micronet, including how to subscribe to or > unsubscribe from its mailing list and how to find out about upcoming > meetings, please visit the Micronet Web site: > > http://micronet.berkeley.edu > > Messages you send to this mailing list are public and world-viewable, > and the list's archives can be browsed and searched on the Internet. > This means these messages can be viewed by (among others) your bosses, > prospective employers, and people who have known you in the past. > > ANNOUNCEMENTS: To send announcements to the Micronet list, please use > the [email protected] list. > ------------------------------------------------------------------------- The following was automatically added to this message by the list server: To learn more about Micronet, including how to subscribe to or unsubscribe from its mailing list and how to find out about upcoming meetings, please visit the Micronet Web site: http://micronet.berkeley.edu Messages you send to this mailing list are public and world-viewable, and the list's archives can be browsed and searched on the Internet. This means these messages can be viewed by (among others) your bosses, prospective employers, and people who have known you in the past. ANNOUNCEMENTS: To send announcements to the Micronet list, please use the [email protected] list. ------------------------------------------------------------------------- The following was automatically added to this message by the list server: To learn more about Micronet, including how to subscribe to or unsubscribe from its mailing list and how to find out about upcoming meetings, please visit the Micronet Web site: http://micronet.berkeley.edu Messages you send to this mailing list are public and world-viewable, and the list's archives can be browsed and searched on the Internet. This means these messages can be viewed by (among others) your bosses, prospective employers, and people who have known you in the past. ANNOUNCEMENTS: To send announcements to the Micronet list, please use the [email protected] list.
