cron behavior
will
willg at bluesock.org
Mon Dec 31 13:22:26 EST 2001
On Mon, 31 Dec 2001, Scott Lanning wrote:
>
> I found the cron manpage confusing until I realized you have to do
>
> $ man 5 crontab
>
> to get the useful one. Reading that, I think 1/4 isn't right
> because the '/4' is "used in conjunction with ranges".
> '1' might techically be a range, but probably not what you
> expected. I don't think there's a way to directly say
> "every 4th Monday" (is there?), but I guess if you put
> "day of month" to an appropriate range (22-28?) and "day of week"
> to 1 (for Monday), then that might work.
That'll have your script kick off on Mondays as well as days of the month
22 through 28. Cron does an or between month-days and week-days.
--
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.
More information about the Discuss
mailing list