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

Lubbers, Nicholas nlubbers at shopthepig.com
Wed Feb 11 19:08:45 UTC 2009


This is the proper way, sorry about my last post. I misread that you
wanted it EVERY 10 minutes continuously.

Nick 

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Smoot
Carl-Mitchell
Sent: Wednesday, February 11, 2009 1:05 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: How do I get a script to run every ten minutes?

On Wed, 2009-02-11 at 10:55 -0800, Knute Johnson wrote:
> I need to run a script every ten minutes on the 0 minute.  Is there a 
> simple way to do this?

Use cron.  You can create a user specifc crontab file with
crontab -e

A simple crontab line which will do what you want is:

0,10,20,30,40,50 * * * * some_command_with_arguments

or

*/10 * * * * some_command_with_arguments
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list