How do I get a script to run every ten minutes?

Knute Johnson knute2009 at knutejohnson.com
Thu Feb 12 02:54:29 UTC 2009


Matthew Flaschen wrote:
> Lubbers, Nicholas wrote:
>> Use cron for this.
>>
>> crontab -e
>> 10 * * * * /path/to/script
> 
> Won't that run every hour on the 10 minutes (e.g. 1:10, 2:10, 3:10),
> etc, but not every 10 minutes?  It's possible I'm wrong, but I think the
> right syntax is:
> 
> */10 * * * * /path/to/script
> 
> Matt Flaschen
> 

Thanks everybody for the answer.  I know about cron and use it all the 
time, just didn't know this syntax was possible.

Thanks,

-- 

Knute Johnson

"The urge to save humanity is almost always a false front for the urge 
to rule."

   H.L. Mencken





More information about the ubuntu-users mailing list