Difference between revisions of "Crontab"

From John Freier
Jump to: navigation, search
(Created page with ' */5 * * * * /home/user/test.pl')
 
Line 1: Line 1:
 
 
  */5 * * * *  /home/user/test.pl
 
  */5 * * * *  /home/user/test.pl
 +
 +
 +
 +
.---------------- minute (0 - 59)
 +
|  .------------- hour (0 - 23)
 +
|  |  .---------- day of month (1 - 31)
 +
|  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
 +
|  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7)  OR sun,mon,tue,wed,thu,fri,sat
 +
|  |  |  |  |
 +
*  *  *  *  *  command to be executed

Revision as of 12:56, 5 January 2010

*/5 * * * *  /home/user/test.pl


.---------------- minute (0 - 59) 
|  .------------- hour (0 - 23)
|  |  .---------- day of month (1 - 31)
|  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ... 
|  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7)  OR sun,mon,tue,wed,thu,fri,sat 
|  |  |  |  |
*  *  *  *  *  command to be executed