[plug] Crontab

Mike Holland myk at golden.wattle.id.au
Wed Sep 26 13:44:25 WST 2001


On Wed, 26 Sep 2001 EarnshawM at switch.aust.com wrote:

> Reading (5) Crontab you can have ranges of numbers, ie
>
> 00 0-23/2 * * * script

yes, every second hour.

> But what I would like to do is run a script every other monday. So I have
> entered the following
>
> 00 23 * * mon/2 script

Thats completely different. 'mon' is not a range, and if it were, you
would get every second day.
  What you really want is "every second week", e.g.  1-52/2
but cron doesnt have a field for week.  You could probably patch it in
less than an hour. E-mail me for rates :-)


-- 
Mike Holland  <myk at golden.wattle.id.au>
			--==--
"Everybody is talking about the weather but nobody does anything
about it."      -- Mark Twain





More information about the plug mailing list