[plug] Crontab

Andrew Furey simpware at yahoo.com
Wed Sep 26 13:32:45 WST 2001


> > 00 23 * * mon/2 script
> 
> > now rather than waiting to see if this will work
> (yes I am inpatient) can
> > anyone offer feedback?
> 
> Whether it works depends on which crontab you're
> using. You can always try a 
> number instead of "mon" (should be 2 but sometimes
> Europeans start their week 
> on Monday so it may be 1).

Or if you wanted, you could put it for every week in
crontab, and then modify the script itself so it only
runs every second time. Some sort of toggle - do your
stuff then touch a file, so that next time round if
the file exists, it deletes it and promptly exits.
That would work on any crontab...

My 2c...

Andrew

=====
In a world without walls and fences, who needs windows and gates?

http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!



More information about the plug mailing list