Cronjob
Jerry McAllister
jerrymc at msu.edu
Mon Jun 8 15:39:44 UTC 2009
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list