Current-Users archive

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

Re: Time-change behavior for cron(8)



In article <Pine.NEB.4.64.1409280629180.18862%vps1.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>The man page for cron(8) says
>
> 	Daylight Saving Time and other time changes
>
> 	     ...
>
> 	     Time changes of more than 3 hours are considered to be
> 	     corrections to the clock or timezone, and the new time
> 	     is used immediately.
>
>
>However this does not seem to be working.  I've recently updated my 
>machine's time-zone from US/Pacific to Asia/Manila.  Yet my daily(5) 
>continues to run based on the original time-zone.  The zone change 
>amounts to a 15-hour difference, certainly enough to trigger the above 
>3-hour rule.

I don't think that this sentence is worded properly. It means changes
to system time (the clock), not timezone. In FEATURES:

	 TZ can be set, but cron ignores it other than passing
	 it on through to the commands it runs.

>In order to get the schedule to sync-up with the new zone, I had to 
>kill(1) and then restart cron.

Right...

christos



Home | Main Index | Thread Index | Old Index