Are you new here? Subscribe to my RSS feed. Thanks for visiting!
Here is a quick tip on how to run crontab every 5 minutes.
*/5 * * * * /home/adam/script.sh will execute script.sh every 5 minutes.
Also, here’s a quick guide to understaning the layout of cron:
# MIN HOUR DAYOFMONTH MONTH DAYOFWEEK COMMAND
5 * * * * echo 'Hello'
Also, the Crontab Man page
For further reading on Crontab check out Understand Cron Jobs in 5 Minutes
Popularity: 22% [?]
Sponsors


Thank you for the quick and easy post. I haven’t used cron in forever and I’m not too interested in learning it all again either. I needed to run something for a client every 5 minutes and needless to say this post was quite helpful!