FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-11-2009, 08:09 PM
Gregory Zill
 
Default ubuntu-users Digest, Vol 54, Issue 125

On Wed, Feb 11, 2009 at 1:41 PM, 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
>

In crontab, this is the minutes column. So the shorthand indicates
that when the minute, and minute only, is evenly divisible by 10 (mod)
the script will fire.

One of the other posts will result in hourly at ten minutes after
every hour, example
10 * * * * /path/to/script

--
The computer you are using has no brain,
therefore you must use your own.

Gregory W Zill, MBA, CISSP

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

Thread Tools




All times are GMT. The time now is 12:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org