From owner-freebsd-hackers Mon Apr 6 22:38:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA22710 for freebsd-hackers-outgoing; Mon, 6 Apr 1998 22:38:46 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22697 for ; Mon, 6 Apr 1998 22:38:40 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA03300; Mon, 6 Apr 1998 22:38:09 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma003298; Mon Apr 6 22:38:05 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id WAA22606; Mon, 6 Apr 1998 22:38:05 -0700 (PDT) From: Archie Cobbs Message-Id: <199804070538.WAA22606@bubba.whistle.com> Subject: Re: Daylight Savings Time - bug In-Reply-To: from "gsutter@pobox.com" at "Apr 7, 98 01:10:19 am" To: gsutter@pobox.com Date: Mon, 6 Apr 1998 22:38:05 -0700 (PDT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gsutter@pobox.com writes: > On Mon, 6 Apr 1998, dannyman wrote: > >> On Mon, Apr 06, 1998 at 11:16:04AM -0400, James E. Housley wrote: > >> > Did anyone else notice that the Sunday AM Daily and Security scripts > >> > didn't run with the change of time to daylight savings? Is this a know > > > >One note I've seen is this isn't a cron bug, but stems from the fact that > >on the day we switch to DST, there is no 0200h - it's really just an > >oversight on the part of whoever it was that set the default here to 2AM. > > In the fall, do 0159h or 0200h crons run twice? I think it only runs once. In other words, it can be designed to work "correctly" in the fall or in the spring, but not both. This is because "correct" is a matter of policy, not true correctness. Some cron entries are "meant" to run once every day (month, hour, whatever) e.g. /etc/daily. Others are meant to run once, at the specified time (e.g., on April 15, remind me that my taxes are due). Which behavior you choose makes one of these types work but not the other. I agree that /etc/daily and friends should be scheduled to run at some time other than between 2am and 3am. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message