Tuesday, June 25, 2013

Crond Predefined scheduling definitions

Predefined scheduling definitions[edit]
Several special predefined values can substitute in the CRON expression. Note that in some uses of the CRON format there is also a seconds field at the beginning of the pattern (e.g., Quartz).
Entry                 Description                                                                                                Equivalent To
@yearly          (or @annually) Run once a year at midnight in the morning of January        1 0 0 1 1 *
@monthly       Run once a month at midnight in the morning of the first of the month        0 0 1 * *
@weekly         Run once a week at midnight in the morning of Sunday                                 0 0 * * 0
@daily             Run once a day at midnight                                                                             0 0 * * *
@hourly          Run once an hour at the beginning of the hour                                                 0 * * * *
@reboot          Run at startup                                                                                                  @reboot

No comments:

Post a Comment