[Trilug-ontopic] CronTab exclusions

Scott Lambdin lopaki at gmail.com
Wed Dec 19 12:01:12 EST 2007


Are you sure gnu crontab "ands" the day-of-month and day-of-week?  the
crontab on these solaris boxes I'm looking at "ors" them.  So one could do
this

0 3 7-31 * 0-5  runme

--Scott


On 12/17/07, Alan Porter <porter at trilug.org> wrote:
>
>
> You could also treat it as two different entries in the crontab:
>
> 0 3 1-7 * 0-5 runme # first week, every day except saturday
> 0 3 8-31 * * runme # rest of the month, every day
>
>
> Alan
>
>
>
>
>
>
> _______________________________________________
> Trilug-ontopic mailing list
> Trilug-ontopic at trilug.org
> http://www.trilug.org/mailman/listinfo/trilug-ontopic
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trilug.org/pipermail/trilug-ontopic/attachments/20071219/802a0ff4/attachment.htm 


More information about the Trilug-ontopic mailing list