Crontab tricks

Shawn Badger badger.shawn at gmail.com
Fri May 11 12:12:44 MST 2007


Here are some useful crontab tricks that I found a while back on the
web and then someone posted them again. So I though I should pass them
on to the group.


Entry 	           Description 	                Equivalent To
@reboot 	Run once, at startup. 	None
@yearly 	 Run once a year 	0 0 1 1 *
@annually 	(same as @yearly)    0 0 1 1 *
@monthly 	Run once a month     0 0 1 * *
@weekly 	Run once a week       0 0 * * 0
@daily 	         Run once a day 	0 0 * * *
@midnight     (same as @daily) 	     0 0 * * *
@hourly 	Run once an hour        0 * * * *


I found them again at this site:

http://blog.lxpages.com/2007/05/10/neat-crontab-tricks/


More information about the PLUG-discuss mailing list