-
-
Save ishtiyaq/3cb1fbf5451e69ce3ef9c45ec9b0c95d to your computer and use it in GitHub Desktop.
Linux Crons
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
# 1. Entry: Minute when the process will be started [0-60] | |
# 2. Entry: Hour when the process will be started [0-23] | |
# 3. Entry: Day of the month when the process will be started [1-28/29/30/31] | |
# 4. Entry: Month of the year when the process will be started [1-12] | |
# 5. Entry: Weekday when the process will be started [0-6] [0 is Sunday] | |
# | |
# all x min = */x | |
In general, the format is: | |
+---------------- minute (0 - 59) | |
| +------------- hour (0 - 23) | |
| | +---------- day of month (1 - 31) | |
| | | +------- month (1 - 12) | |
| | | | +---- day of week (0 - 6) (Sunday=0 or 7) | |
| | | | | | |
* * * * * command to be executed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment