BLOG

Crontab Sheet

13 Aug 2013, Posted by BoB in All Posts, Computer Talk, Network Talk, Website Talk

Here is a breakdown of the crontab structure

(remember to check env to see if parameters need to be set)

* * * * *
| | | | |
| | | | +—– day of week (0 – 6) (Sunday=0)
| | | +——- month (1 – 12)
| | +——— day of month (1 – 31)
| +———– hour (0 – 23)
+————- min (0 – 59)

0 0,12 * * * [user] [commands]

0 0,12 * * * [user] cd [path]/[to]/[files] && ./[script]

Post a comment