[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (ana)cron & local time changing ?



On Mon, Mar 29, 1999 at 09:42:36AM +0100, Antal Ritter wrote:
> Hi,
> 
> What is the supposed behaviour of cron when the local time changes?
> 
> To put it more clearly: let's suppose that on the 28th of March 2 AM
> we have to skip forward an hour due to daylight savings time. What
> should happen to a script that is set up to run at eg. 2:20 AM 
> in my crontab file?
> 
> (To tell the truth, I tried it... The script didn't run on my
> system [with kernel 2.2.1, anacron 2.0.1-2]. So my question 
> in another form: Is it a bug that this script did not run, or 
> is it a feature? :-) )
> 
> Thanks for you time,
> 							Antal
> 
> 

AFAIK, this is a historical "feature" of cron.  The fix is to not schedule
anything between 2 and 3 AM.  If you do, once a year it won't get run,
and once a year it may well get run twice.

Mike
-- 
Mike Merten
ironfoot@popaccount.com
ICQ# 28460680


Reply to: