"Murphy was an optimist!"
Understanding CRONTAB July 7, 2006 8:32 pm
Posted by Doug McCaughan in : Programming, TechnologyTime to write cron job to make sure a process fires every morning on a linux server. This sums it up quite well!
* * * * * 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)
So I’m looking at:
0 1 * * * /usr/bin/wget -q -O- myfile.php
To run every morning at 1am.
trackback

Comments»
no comments yet - be the first?