Simple question- what would a crontab entry look like for a command I want to run every week on Saturday at 8:05 AM?
|
feedback
|
migrated from stackoverflow.com Nov 8 '09 at 1:25
This question came from our site for professional and enthusiast programmers.
|
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)
| ||||
|
feedback
|
|
These answers are all correct, if you are unaware of how to use cron in the future, use one of many cron generators. | |||
|
feedback
|
|
Sat 8:05AM run find
| |||
|
feedback
|
|
From extensive investigation of "man 5 crontab", it looks like this'll do the trick: 5 8 * * sat /usr/bin/man 5 crontab | |||
|
feedback
|
|
http://www.scrounge.org/linux/cron.html 5 8 * * 6 /usr/bin/foo ...to run every week on Saturday at 8:05 AM | |||
|
feedback
|