Created
June 20, 2018 11:36
-
-
Save lcrea/c5f3d15dbd2a8b5735042b279418d17f to your computer and use it in GitHub Desktop.
Crontab template for Unix e Unix-like OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncomment to disable cron mail notification for ALL the jobs: | |
#MAILTO="" | |
# COMMON MISTAKES | |
# - A white ending line is required, otherwise last command will not be executed | |
# - % character in a command must be escaped [ echo `date +\%Y\%m\%d` ] | |
# - % character not escaped means a new line | |
# - 'day' and 'week day' fields are evaluated with a OR operation: | |
# day=1 weekday=mon == 'execute command if now is 1st of the month OR is Monday' | |
#·------------------ minute (0 - 59) | |
#| ·--------------- hour (0 - 23) | |
#| | ·------------ day of month (1 - 31) | |
#| | | ·--------- month (1 - 12) OR jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec | |
#| | | | ·------ week day (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | |
#| | | | | ·--- command to execute | |
#| | | | | | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment