Crontab template for Unix e Unix-like OS
# 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