Date: Fri, 3 Nov 2000 14:37:02 -0800 (PST) From: Mikko Tyolajarvi <mikko@dynas.se> To: tashchuk@easystreet.com Cc: freebsd-stable@freebsd.org Subject: Re: REMINDER: 4.2 code freeze starts tomorrow! Message-ID: <200011032237.eA3Mb2e65256@explorer.rsa.com> References: <3A029A6B.FFE15663@easystreet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd-stable you write: >Vivek Khera wrote: >> >> Could the default nightly cron job time get changed to something >> outside of the 1am to 3am window? The current time is just a bad >> default. >Hey, at least you got a discourse going. [...] >Also for some silly reason I thought that the OpenBSD people might be >"smarter" about this. But no, their daily script runs at 1:30 and so >probably has the very same problem. Unless, of course, they have modified "cron" to handle the problem. Essentally, "cron" should detect mysterious "time jumps" and DTRT. Let's see. Here it is: <http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/cron/cron.c> Yup, looks like they've done something (almost three years ago:^): 1.4 Mon Dec 22 8:10:41 GMT 1997 by deraadt Diffs to 1.3 handle timing normally except when clock jumps between 1 and 3 hours. If it jumps, attempt as best as possible to gaurantee that jobs DO run, but only run ONCE; patch by thompson@.tgsoft.com Judging by the diff, it should handle DST transition gracefully. I can't find anything similar in the FreeBSD version of cron :-( $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011032237.eA3Mb2e65256>