Lance Hoffmeyer wrote:
Hello,

How do I get crontab to run a process every 5 minutes?
Currently, it is setup as:
5,10,15,20,25,30,35,40,45,50,55 * * *


Surely, there is a more elegant approach?

Lance


if you use the notation
*/5 * * * *
then it will run every five minutes, but not always on the 5 (ie: 00, 05, 10, 15...)


If you have to run on the five, then you need to use the notation you've provided, but add '00'


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to