Forum Moderators: bakedjake
15 13 * * * /usr/bin/command
- - - - -
¦ ¦ ¦ ¦ ¦
¦ ¦ ¦ ¦ +----- day of week (0 - 6) (Sunday=0)
¦ ¦ ¦ +------- month (1 - 12)
¦ ¦ +--------- day of month (1 - 31)
¦ +----------- hour (0 - 23)
+------------- min (0 - 59)
EDIT: The above graph contains multiple spaces and gets squished when posted.
This will run a command every day, at 13:15. The 3 stars following the 13 must exist for it to read the time/day format properly. If you want to run a command every Monday at 13:15, use:
15 13 * * 1 /usr/bin/command
If you want to run a command every 1st, 15th and 23rd of the month at 13:15, use: (note the commas between 1, 15 and 23)
15 13 1,15,23 * * /usr/bin/command
By default cron jobs will send an email to the user account executing the cronjob. If this is not needed put the following command at the end of the cron job line.
15 13 * * * /usr/bin/command >/dev/null 2>&1
424Boyz