From owner-freebsd-hackers Sat Feb 21 12:45:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14411 for freebsd-hackers-outgoing; Sat, 21 Feb 1998 12:45:35 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14385; Sat, 21 Feb 1998 12:45:27 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA26743; Sat, 21 Feb 1998 12:44:56 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma026737; Sat Feb 21 12:44:45 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA01155; Sat, 21 Feb 1998 12:44:45 -0800 (PST) From: Archie Cobbs Message-Id: <199802212044.MAA01155@bubba.whistle.com> Subject: Re: /etc/crontab In-Reply-To: from Daniel O'Callaghan at "Feb 21, 98 10:22:51 pm" To: danny@panda.hilink.com.au (Daniel O'Callaghan) Date: Sat, 21 Feb 1998 12:44:44 -0800 (PST) Cc: igor@alecto.physics.uiuc.edu, stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel O'Callaghan writes: > On Fri, 20 Feb 1998, Igor Roshchin wrote: > > Since people are discussing what they want to see in 2.2.6, > > I decided to repeat my old posting since it went unnoticed > > (there were neither positive nor negative response to it) > > > > /etc/crontab: > > > > # do daily/weekly/monthly maintenance > > 0 2 * * * root /etc/daily 2>&1 | sendmail root > > > > This script will not work once a year, and twice a day on another day, > > This is a bug in cron(8), not in crontab(5) or /etc/daily. There is a > rumour that someone has patches to cron which will correct this; would > that person please make him/herself known so the patches can be reviewed > and committed. Whether this is a bug or not is arguable... cron(8) is doing exactly what you told it to do. Why not just change the "2" in /etc/crontab to a "3" ? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message