From owner-freebsd-bugs Sat Nov 18 23:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 72E6137B4C5 for ; Sat, 18 Nov 2000 23:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA12844; Sat, 18 Nov 2000 23:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id DCD8E37B479; Sat, 18 Nov 2000 23:20:05 -0800 (PST) Message-Id: <20001119072005.DCD8E37B479@hub.freebsd.org> Date: Sat, 18 Nov 2000 23:20:05 -0800 (PST) From: seraf@2600.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/22954: cron isn't daylight savings-aware Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22954 >Category: bin >Synopsis: cron isn't daylight savings-aware >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 18 23:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Dominick LaTrappe >Release: 4.1-20001102-STABLE >Organization: >Environment: FreeBSD rocketmorton 4.1-20001102-STABLE FreeBSD 4.1-20001102-STABLE #6: Fri Nov 16 01:42:08 UTC 2000 dominick@rocketmorton:/usr/src/sys/compile/MORTON i386 >Description: cron(8) doesn't seem to be aware of time zones like PST8PDT which occasionally shift forward or backward by an hour for American "Daylight Savings." The result is cron jobs being skipped over, or running twice. This is a really old problem, IIRC. >How-To-Repeat: Schedule a cron job which runs within the hour following the pre-shift time of the 1hr-forward-shift (it will never run), or one which runs without the hour preceding the post-shift time of the 1hr-back-shift (it will run twice). I *think* I have this right. It's confusing, isn't it?! >Fix: Interim solution: Run the affected system in UTC time, or another time zone with an absolute relationship to UTC. Permanent solution: Make cron use UTC time, or munge cron's understanding of time, or petition the US government to abolish Daylight Savings! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message