44
|
This will run the command foo at 12:00AM on the first of every month
This article describes the various fields, look to the bottom of the page:http://en.wikipedia.org/wiki/Cron
To add this to your cron file, just use the command
| ||||||||||||
|
3
|
use following:
| ||
2
|
Will run /usr/bin/foo at 12:10am on the first day of the month.
Will run /usr/bin/foo at 3:10am on every day.
updated the crons, it was a copy paste error, thanks Joy Dutta!
| ||||||||
|
2
|
Check for a directory on your server at
/etc/cron.monthly . If the directory exists, odds are your system is set up to run any executables it finds in that folder on a monthly basis. Just drop your script (or symlink it) in /etc/cron.monthly . Also, make sure your script is executable. | ||
0
|
Something like:
|