From owner-freebsd-stable Fri Nov 3 14:37:17 2000 Delivered-To: freebsd-stable@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id AB1CF37B479 for ; Fri, 3 Nov 2000 14:37:10 -0800 (PST) Received: (qmail 94930 invoked from network); 3 Nov 2000 22:37:05 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by karon.sto.dynas.se with SMTP; 3 Nov 2000 22:37:05 -0000 Received: (qmail 5573 invoked from network); 3 Nov 2000 22:37:25 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 3 Nov 2000 22:37:25 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.0/8.11.0) id eA3Mb2e65256; Fri, 3 Nov 2000 14:37:02 -0800 (PST) (envelope-from mikko) Date: Fri, 3 Nov 2000 14:37:02 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200011032237.eA3Mb2e65256@explorer.rsa.com> To: tashchuk@easystreet.com Cc: freebsd-stable@freebsd.org Subject: Re: REMINDER: 4.2 code freeze starts tomorrow! Newsgroups: local.freebsd-stable References: <3A029A6B.FFE15663@easystreet.com> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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