Walker News

How To Configure Linux Cron To Trigger Job At Fixed Interval?

To configure a Linux cronjob that will automatically run after every 15 minutes, at each hours and days, a novice or junior system administrator might write the Linux cron configuration in such way:
0,15,30,45 * * * * /bin/date
Of course there is nothing wrong with the configuration, it works as describe, but it can be improved or simplified for readability, and probably looks more professional :)

Linux crontab shorthand

Here is the modified version using Linux crontab shorthand to schedule cronjob that will run at a 5-minute interval:
*/5 * * * * /home/walker/wdate

which will get Linux scheduler to automatically run shell script called wdate at every 5-minute.

Custom Search

2014  •  Privacy Policy