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 <j...@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-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to