Date: Mon, 8 Jun 2009 11:37:14 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Peter Andreev <andreev.peter@gmail.com> Cc: Jos Chrispijn <jos@webrz.net>, freebsd-questions@freebsd.org Subject: Re: Cronjob Message-ID: <20090608153714.GA59348@gizmo.acns.msu.edu> In-Reply-To: <f45e198a0906080731y70acd249ha6f2d4a658c9720@mail.gmail.com> References: <4A2D0A5C.8010809@webrz.net> <f45e198a0906080731y70acd249ha6f2d4a658c9720@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: > may be this solution will help you: > > * * 31 jan,mar,may,jul,aug,oct,dec * > * * 30 apr,jun,sep,nov * > * * 28 feb * > > or: > > * * 31 1/2 * > * * 30 4/2 * > * * 28 2 * Don't forget leapyear. ////jerry > > 2009/6/8 Jos Chrispijn <jos@webrz.net> > > > 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? > > 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?20090608153714.GA59348>