Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 1998 12:44:44 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        danny@panda.hilink.com.au (Daniel O'Callaghan)
Cc:        igor@alecto.physics.uiuc.edu, stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: /etc/crontab
Message-ID:  <199802212044.MAA01155@bubba.whistle.com>
In-Reply-To: <Pine.BSF.3.91.980221221904.776o@panda.hilink.com.au> from Daniel O'Callaghan at "Feb 21, 98 10:22:51 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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-stable" in the body of the message



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