Skip to content

Instantly share code, notes, and snippets.

View lcrea's full-sized avatar
👨‍💻
Trying to do my best

Luca Crea lcrea

👨‍💻
Trying to do my best
View GitHub Profile
@lcrea
lcrea / crontab-template
Created June 20, 2018 11:36
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'