Date: Mon, 5 Nov 2001 16:33:50 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: freebsd-questions@freebsd.org Subject: Re: A cron job to run every 4 weeks Message-ID: <20011105163350.A4161@raggedclown.net> In-Reply-To: <20011105161130.C3639@raggedclown.net>; from cliff@raggedclown.net on Mon, Nov 05, 2001 at 04:11:30PM %2B0100 References: <512fe501a6.501a6512fe@mbox.com.au> <3.0.5.32.20011105075659.01006480@mail.sage-american.com> <008201c16607$1e2f5ff0$fa01a8c0@ABERRATION> <20011105161130.C3639@raggedclown.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 05, 2001 at 04:11:30PM +0100, Cliff Sarginson wrote: > Hello, > > Use "at". > Write the script to do the job you require. > Using "at" set it to run for the first occasion. > As the last statement in the script call "at" again > with a time specification of > "now + 28 days" > Actually you want the new call to "at" as the first line of the script, not the last. Otherwise it will run increasingly later on the day in question ! So if the script takes 10 minutes to run it will run 10 minutes later each time..if you see what I mean. > -- > Regards > Cliff 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?20011105163350.A4161>