From owner-freebsd-stable Sun Apr 7 15:10:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id E586637B400 for ; Sun, 7 Apr 2002 15:10:42 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020407221042.UUAI21252.rwcrmhc53.attbi.com@blossom.cjclark.org>; Sun, 7 Apr 2002 22:10:42 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g37MAen27387; Sun, 7 Apr 2002 15:10:40 -0700 (PDT) (envelope-from cjc) Date: Sun, 7 Apr 2002 15:10:40 -0700 From: "Crist J. Clark" To: Dave Uhring Cc: "Brandon S. Allbery KF8NH" , Sam , Matthew Dillon , stable@FreeBSD.ORG Subject: Re: DST vs. Cron = Burp Message-ID: <20020407151040.R70207@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020407131703.Q70207@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from duhring@charter.net on Mon, Apr 08, 2002 at 04:43:05AM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 08, 2002 at 04:43:05AM -0500, Dave Uhring wrote: > On Sunday 07 April 2002 03:17 pm, Crist J. Clark wrote: > > On Mon, Apr 08, 2002 at 02:41:41AM -0500, Dave Uhring wrote: > > > On Sunday 07 April 2002 02:39 pm, Brandon S. Allbery KF8NH wrote: > > > > > Since in most places the changeover to DST occurs at 0100, that > > > > > > > > In the U.S. it happens at 0200. > > > > > > You are quite correct. I must have had a brain fart there. Was > > > thinking of the changeover in the fall. > > > > ...which also happens at 0200. ? > > Indeed, but the time then goes back to 0100. > > My confusion actually came from a line in root's crontab in Solaris > where the RTC is set at 0201 and it appears that there was not such a > time this morning, although the system should have actually had such a > time before setting the RTC. Nope, there was no 2:01 or a 2:00 this morning, $ date -j 200204070159.59 +%s 1018173599 $ date -j -r 1018173599 Sun Apr 7 01:59:59 PST 2002 $ date -j -r 1018173600 Sun Apr 7 03:00:00 PDT 2002 But the moral of the story is don't do cron jobs on Sunday mornings between 0100 and 0300. In the fall, jobs between 0100 and 0200 get run twice, and in the spring, jobs between 0200 and 0300 never get run. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message