Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 09:50:11 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        freebsd-hackers@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: /etc/crontab
Message-ID:  <Pine.BSF.3.91.980222094620.776r-100000@panda.hilink.com.au>

next in thread | raw e-mail | index | archive | help

It was written that /etc/daily is run twice or not at all during DST changes.
I said it was a bug in cron(8); Archie Cobbs said it wasn't.

HP-UX seems to have it sorted out....

Can anyone suggest an algorithm for implementing the HP-UX cron(8) behavior?

Danny

---------- Forwarded message ----------
Date: Tue, 8 Apr 1997 14:09:07 +1000 (EST)
From: Darren Reed <avalon@coombs.anu.edu.au>
To: Warner Losh <imp@village.org>
Cc: thompson@squirrel.tgsoft.com, hackers@freebsd.com
Subject: Re: crontab nit?

HP-UX man page for cron:
    Notes
      On the days of daylight savings (summer) time transition (in time
      zones and countries where daylight savings time applies), cron
      schedules commands differently than normal.

      In the following description, an ambiguous time refers to an hour and
      minute that occurs twice in the same day because of a daylight savings
      time transition (usually on a day during the Autumn season).  A non-
      existent time refers to an hour and minute that does not occur because
      of a daylight savings time transition (usually on a day during the
      Spring season).  DST-shift refers to the offset that is applied to
      standard time to result in daylight savings time.  This is normally
      one hour, but can be any combination of hours and minutes up to 23
      hours and 59 minutes (see tztab(4)).

      When a command is specified to run at an ambiguous time, the command
      is executed only once at the first occurrence of the ambiguous time.

      When a command is specified to run a non-existent time, the command is
      executed after the specified time by an amount of time equal to the
      DST-shift. When such an adjustment would conflict with another time
      specified to run the command, the command is run only once rather than
      running the command twice at the same time.

      For commands that are scheduled to run during all hours by specifying
      a * in the hour field of the crontab entry, the command is scheduled
      without any adjustment.



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?Pine.BSF.3.91.980222094620.776r-100000>