From owner-freebsd-hackers Sun Feb 22 18:05:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA24644 for freebsd-hackers-outgoing; Sun, 22 Feb 1998 18:05:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from passer.osg.gov.bc.ca (0@passer.osg.gov.bc.ca [142.32.110.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA24620; Sun, 22 Feb 1998 18:04:57 -0800 (PST) (envelope-from cy@cschuber.net.gov.bc.ca) Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.8.8/8.6.10) id SAA21413; Sun, 22 Feb 1998 18:04:47 -0800 (PST) Received: from cschuber.net.gov.bc.ca(142.31.240.113), claiming to be "cwsys.cwsent.com" via SMTP by passer.osg.gov.bc.ca, id smtpdaacoia; Sun Feb 22 18:04:41 1998 Received: (from uucp@localhost) by cwsys.cwsent.com (8.8.8/8.6.10) id LAA13152; Sun, 22 Feb 1998 11:54:49 -0800 (PST) Message-Id: <199802221954.LAA13152@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpd013117; Sun Feb 22 19:54:09 1998 X-Mailer: exmh version 2.0.1 12/23/97 Reply-to: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: cy To: "Daniel O'Callaghan" cc: freebsd-hackers@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: /etc/crontab In-reply-to: Your message of "Sun, 22 Feb 1998 09:50:11 +1100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Feb 1998 11:54:07 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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 > To: Warner Losh > 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-hackers" in the body of the message