Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2001 22:01:27 -0400
From:      Leo Bicknell <bicknell@ufp.org>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Cron pickle
Message-ID:  <20010916220127.A35836@ussenterprise.ufp.org>
In-Reply-To: <F243F4r4rPKlNonsYKU00010632@hotmail.com>; from ta_iy@hotmail.com on Mon, Sep 17, 2001 at 10:40:15AM %2B1000
References:  <F243F4r4rPKlNonsYKU00010632@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 17, 2001 at 10:40:15AM +1000, Tim Allshorn wrote:
>     I need to be able to run a particular program at the last minute of each 
> month and yes I know it would be much easier to run it at the first minute 
> of each month, but my hands are tied and my brain is too puny to work it 
> out.

I think you want 12 cron entries, one for each month.  That said,
you might want to rethink what you are doing.  While it would be
unusual, on a heavily loaded machine, or a machine experiencing
some form of clock skew (eg our recent fast clock SMP issue) there
is no guarantee that the process is actually run in the last minute,
or even if it is started in the last minute that it would complete
in that minute.  Since running on the first minute seems unacceptable
for some reason I can only assume that is important in your current
setup.

-- 
Leo Bicknell - bicknell@ufp.org
Systems Engineer - Internetworking Engineer - CCIE 3440
Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org

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




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