Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2001 20:58:52 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Tim Allshorn <ta_iy@hotmail.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Cron pickle
Message-ID:  <20010916205852.A14117@dan.emsphone.com>
In-Reply-To: <3BA55638.91CD4CCA@mindspring.com>
References:  <F243F4r4rPKlNonsYKU00010632@hotmail.com> <3BA55638.91CD4CCA@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 16), Terry Lambert said:
> 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.
> 
> 1)	Run it the first minute of each month.
> 
> 2)	Set your system clock back one minute.

or:

1) Run it the last minute of each day

2) Exit immediately unless it's the last day of the month

If you do not have source to the program, wrap it in a script that does
the date check.

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20010916205852.A14117>