Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 15:10:40 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Dave Uhring <duhring@charter.net>
Cc:        "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>, Sam <sam@wa4phy.net>, Matthew Dillon <dillon@apollo.backplane.com>, stable@FreeBSD.ORG
Subject:   Re: DST vs. Cron = Burp
Message-ID:  <20020407151040.R70207@blossom.cjclark.org>
In-Reply-To: <auto-000036436292@dc-mx04.cluster1.charter.net>; from duhring@charter.net on Mon, Apr 08, 2002 at 04:43:05AM -0500
References:  <GMEPIEKGGLEANOLIHBEKMEHMCAAA.allbery@ece.cmu.edu> <auto-000033906791@dc-mx03.cluster1.charter.net> <20020407131703.Q70207@blossom.cjclark.org> <auto-000036436292@dc-mx04.cluster1.charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407151040.R70207>