Page 1 of 1

Crontab that runs 3 times a day

New postPosted: Wed Feb 19, 2014 3:25 pm
by Joplin
How do I create a crontab line that runs 3 tiles a day?

Thanks

Re: Crontab that runs 3 times a day

New postPosted: Wed Feb 19, 2014 3:38 pm
by Patton
Code: [Select all] [Expand/Collapse] [Download] (crontab3.bsh)
  1. # This will save the ruleset at 7:00, 15:00 and 23:00 on every day.
  2. # The comma separated values mean that the command needs to be executed at all of those times.
  3. 00 7,15,23 * * * /root/adm/rules_save > /dev/null 2>&1