Last active
June 14, 2019 13:48
-
-
Save dbuteau/200aee1aa68b14fa7c41a2240ffdfbc9 to your computer and use it in GitHub Desktop.
crontab header for reminder
This file contains hidden or 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
#┌──────────────────────────────────────── minutes: 0-59, */2 every 2 minutes | |
#│ ┌────────────────────────────────────── Hours: 0-23 | |
#│ │ ┌──────────────────────────────────── Day: 1-31 | |
#│ │ │ ┌────────────────────────────────── Month: 1-12 | |
#│ │ │ │ ┌──────────────────────────────── WeekDay: 0-7; Sunday=0, Saturday=6 | |
#│ │ │ │ │ ┌───────────────────────────── user which will exec the command (can be not supported on somes systems) | |
#│ │ │ │ │ │ | |
#* * * * * user command to execute | |
#eg: execute backup at 2h30 and 14h30 from monday to friday | |
#30 2,14 * * 1-5 root /usr/local/sbin/backup.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment