Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 100 13:24:46 -0800 (PST)
From:      Alan Evans <Alan.Evans@netouch.com>
To:        freebsd-questions@freebsd.org
Subject:   "at 1:30am monday" gives "at: garbled time" after y2k rollover
Message-ID:  <200001032124.NAA12544@r2d2.netouch.net>

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

I have several boxes with various versions of FreeBSD
(2.1, 2.1.6, 2.2.[2678], 3.2) and they all appear to have the
same problem with the "at" command.

We have our weekly.local script on a 2.2.6 box schedule a
job to run on Monday morning at 1:30am. The scheduling happens
at the predictable time on Saturday mornings when /etc/weekly runs.
The scheduling command looks like this:

at 1:30am Monday <<EOF
/www/bin/process_logfiles.sh
EOF


Up until this past weekend, this had been working fine (4+ years).
Starting Saturday morning (1/1/2000), this particular feature of at
(using day of week) gives back "at: garbled time". The workaround
has been to change the example above to:

at 1:30am +2 days <<EOF
/www/bin/process_logfiles.sh
EOF


I tested out OpenBSD 2.6 as well and the bug appears there as well.

FYI,

--alan

-- 
Alan Evans                      Alan.Evans@netouch.com
NETouch Communications, Inc.    URL=> http://www.netouch.com/
1 Technology Drive, Suite B-105 (949) 789-9170 FAX (949) 789-9169
Irvine, California 92618        PGP: http://www.netouch.com/aevans/pgp.html



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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