Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 11:54:07 -0800
From:      Cy Schubert - ITSD Open Systems Group <cschuber@uumail.gov.bc.ca>
To:        "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: /etc/crontab 
Message-ID:  <199802221954.LAA13152@cwsys.cwsent.com>
In-Reply-To: Your message of "Sun, 22 Feb 1998 09:50:11 %2B1100." <Pine.BSF.3.91.980222094620.776r-100000@panda.hilink.com.au> 

next in thread | previous 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....

Solaris and DUNIX did sort it out as well.

> 
> 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.


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
UNIX Support                   OV/VM:  BCSC02(CSCHUBER)
ITSD                          BITNET:  CSCHUBER@BCSC02.BITNET
Government of BC            Internet:  cschuber@uumail.gov.bc.ca
                                       Cy.Schubert@gems8.gov.bc.ca




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?199802221954.LAA13152>