Date: Mon, 8 Jun 2009 08:03:34 -0500 From: Neal Hogan <nealhogan@gmail.com> To: Jos Chrispijn <jos@webrz.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Cronjob Message-ID: <ab7b49bc0906080603x1ee0873cnf1d0d9eb80b5ddbc@mail.gmail.com> In-Reply-To: <4A2D0A5C.8010809@webrz.net> References: <4A2D0A5C.8010809@webrz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 8, 2009 at 7:55 AM, Jos Chrispijn <jos@webrz.net> wrote: > I would like to execute a script on every last day of the month in my > crontab. > Can someone tell me how I should solve that as it doesn't know which month > day is the last day of the month? If it really needs to be done on the last day of each month (eg, the 28th of Feb . . . the 31st of Oct . . . etc.), I suppose you could set up 12 different jobs. Be aware of the dreaded leap year, though! > > Solving this in the script to be executed is no option. > > Thanks, Jos > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ab7b49bc0906080603x1ee0873cnf1d0d9eb80b5ddbc>