crontab Format

[user] is only valid in the global crontab. It is not an option for individual user crontabs.

Day of week:

Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday
0 1 2 3 4 5 6 7

 

Format + Examples:

Min Hour Day of Month Month Day of Week [user] Command #comment
02 14 * * * /etc/init.d/rsyslog restart # Restart rsyslog at 2:02pm every day
01 03 17 2 * # 3:01am every Feb 17th
06 * * 6 0 # 6 minutes past every hour on every Sunday in June
00 15 3 3 3 # 3:00pm on every March 3rd that lands on a Wednesday
01,15,45 * * * * # :01, :15, and :45 past every hour
*/15 * * * * # Every 15 minutes
00 01 * * 1-5 # 1:00am every weekday