I need to run a script every ten minutes on the 0 minute. Is there a
simple way to do this?
Thanks,
--
Knute Johnson
"The urge to save humanity is almost always a false front for the urge
to rule."
H.L. Mencken
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-11-2009, 06:05 PM
Smoot Carl-Mitchell
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:
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-11-2009, 06:06 PM
"Lubbers, Nicholas"
How do I get a script to run every ten minutes?
Use cron for this.
crontab -e
10 * * * * /path/to/script
Nick
-----Original Message-----
From: ubuntu-users-bounces@lists.ubuntu.com
[mailto:ubuntu-users-bounces@lists.ubuntu.com] On Behalf Of Knute
Johnson
Sent: Wednesday, February 11, 2009 12:56 PM
To: Ubuntu user technical support,not for general discussions
Subject: How do I get a script to run every ten minutes?
I need to run a script every ten minutes on the 0 minute. Is there a
simple way to do this?
Thanks,
--
Knute Johnson
"The urge to save humanity is almost always a false front for the urge
to rule."
H.L. Mencken
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-11-2009, 06:07 PM
Matthew Flaschen
How do I get a script to run every ten minutes?
Knute Johnson wrote:
> I need to run a script every ten minutes on the 0 minute. Is there a
> simple way to do this?
See
http://www.foogazi.com/2008/04/01/quickzi-how-to-set-cron-to-run-every-5-minutes/
. Just replace the 5 with 10.
Matt Flaschen
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-11-2009, 06:08 PM
"Lubbers, Nicholas"
How do I get a script to run every ten minutes?
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@lists.ubuntu.com
[mailto:ubuntu-users-bounces@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:
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-11-2009, 06:10 PM
Matthew Flaschen
How do I get a script to run every ten minutes?
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
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-12-2009, 01:54 AM
Knute Johnson
How do I get a script to run every ten minutes?
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
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users