| 
  
   Size: 988 
  
  Comment:  
 | 
  
   Size: 1134 
  
  Comment:  
 | 
| Deletions are marked like this. | Additions are marked like this. | 
| Line 10: | Line 10: | 
| {{{#!highlight sh | |
| Line 11: | Line 12: | 
| }}} | |
| Line 13: | Line 15: | 
| {{{#!highlight sh | |
| Line 14: | Line 17: | 
| }}} | |
| Line 16: | Line 20: | 
| {{{#!highlight sh | |
| Line 17: | Line 22: | 
| }}} | |
| Line 19: | Line 25: | 
| {{{#!highlight sh | |
| Line 20: | Line 27: | 
| }}} | |
| Line 22: | Line 30: | 
| {{{#!highlight sh | |
| Line 23: | Line 32: | 
| }}} | |
| Line 26: | Line 35: | 
| {{{ | {{{#!highlight sh | 
| Line 31: | Line 40: | 
| {{{ | {{{#!highlight sh | 
crontab
Cron is a time-based scheduling service in Linux / Unix-like computer operating systems.
Every ten minutes
   1 */10 * * * * /path/to/command
Every hour
   1 0 * * * * /path/to/command
Every 2 hours
   1 0 */2 * * * /path/to/command
Once a day at midnight
   1 0 0 * * *  /path/to/command
Once a day at eight am
   1 0 8 * * *  /path/to/command
Annotations
   1 string         meaning
   2 ------         -------
   3 @reboot        Run once, at startup.
   4 @yearly        Run once a year, "0 0 1 1 *".
   5 @annually      (same as @yearly)
   6 @monthly       Run once a month, "0 0 1 * *".
   7 @weekly        Run once a week, "0 0 * * 0".
   8 @daily         Run once a day, "0 0 * * *".
   9 @midnight      (same as @daily)
  10 @hourly        Run once an hour, "0 * * * *".
