IshtiyaqHusain
7/13/2018 - 3:55 PM

Linux Crons

Linux Crons

# 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