Skip to content

Instantly share code, notes, and snippets.

@rpdelaney
Created August 17, 2016 19:17
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rpdelaney/2ec7b518390f87090f3f5f356c258942 to your computer and use it in GitHub Desktop.
Save rpdelaney/2ec7b518390f87090f3f5f356c258942 to your computer and use it in GitHub Desktop.
Useful crontab header
# +--------- Minute (0-59) | Output Dumper: >/dev/null 2>&1
# | +------- Hour (0-23) | Multiple Values Use Commas: 3,12,47
# | | +----- Day Of Month (1-31) | Do every X intervals: */X -> Example: */15 * * * * Is every 15 minutes
# | | | +--- Month (1 -12) | Aliases: @reboot -> Run once at startup; @hourly -> 0 * * * *;
# | | | | +- Day Of Week (0-6) (Sunday = 0) | @daily -> 0 0 * * *; @weekly -> 0 0 * * 0; @monthly ->0 0 1 * *;
# | | | | | | @yearly -> 0 0 1 1 *;
# * * * * * COMMAND
@raceboyer
Copy link

yes... this is the one I've been looking for! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment