> > 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? :-) ) >
anacron is not time based. Rather it says "has foo been run in the last x <time>". So since it ran cron.daily already, it does not force it to re-run. cron on the other hand should theoretically re-run jobs, but this depends on how it decides when to run what. So as a summation, prolly a feature.