Crontab

From SkyWiki

(Difference between revisions)
Jump to: navigation, search
(New page: == Crontab syntax == A crontab file has five fields for specifying time, date and day followed by the command to be run at that interval. <code> * * * * * command to be execute...)
m
Line 1: Line 1:
== Crontab syntax ==
== Crontab syntax ==
 +
[[category:remember]]
A crontab file has five fields for specifying time, date and day followed by the command to be run at that interval.
A crontab file has five fields for specifying time, date and day followed by the command to be run at that interval.

Revision as of 07:29, 15 September 2008

Crontab syntax

A crontab file has five fields for specifying time, date and day followed by the command to be run at that interval.

*   *   *   *   *  command to be executed
-   -   -   -   -
|   |   |   |   |
|   |   |   |   +----- day of week (0 - 6) (Sunday=0)
|   |   |   +------- month (1 - 12)
|   |   +--------- day of month (1 - 31)
|   +----------- hour (0 - 23)
+------------- min (0 - 59)

Personal tools