Skip to content

Instantly share code, notes, and snippets.

@nall
Created January 21, 2010 00:50
Show Gist options
  • Save nall/282482 to your computer and use it in GitHub Desktop.
Save nall/282482 to your computer and use it in GitHub Desktop.
crontab format
# Crontab format
# Use an asterisk to mean "all legal values"
# Use comments to separate values of a field
# Use a hyphen to denote a range
# Use a / to denote division (3-59/5 * * * * * means every minute between 3-59 which is divisible by 5)
# +---------------------- The Minute (0-59)
# | +------------------- The Hour (0-23)
# | | +---------------- The day of the month (1-31)
# | | | +------------- The Month of year (1-12)
# | | | | +---------- The Day of week (0-6, 0=Sunday)
# | | | | | +----- The shell command to be run
# | | | | | |
# v v v v v v
# MM HH DD MM DoW CMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment