Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cron behavior



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org