Simple question- what would a crontab entry look like for a command I want to run every week on Saturday at 8:05 AM?
|
|
|||
|
migrated from stackoverflow.com |
|
|
|
These answers are all correct, if you are unaware of how to use cron in the future, use one of many cron generators. |
||
|
|
|
|
That should do it:
documentation ( field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
|
|||
|
|
|
|
Sat 8:05AM run find
|
||
|
|
|
|
From extensive investigation of "man 5 crontab", it looks like this'll do the trick: 5 8 * * sat /usr/bin/man 5 crontab |
||
|
|
|
|
|
||
|
|
|
|
http://www.scrounge.org/linux/cron.html 5 8 * * 6 /usr/bin/foo ...to run every week on Saturday at 8:05 AM |
||
|
|
