Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 1999 22:06:18 +0930 (CST)
From:      Greg Lewis <glewis@ares.maths.adelaide.edu.au>
To:        William Melanson <wjm@gate.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Crontab entry question...
Message-ID:  <199908171236.WAA05786@ares.maths.adelaide.edu.au>
In-Reply-To: <Pine.A41.4.03.9908162135220.152216-100000@inca.gate.net> from William Melanson at "Aug 16, 1999 09:58:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> This is the current crontab enrty I have to fire up a simple shell
> script:
> 
> #Run at 8:30pm, Monday August 16th
> 30 20 16 8 mon /usr/home/user1/script.sh
> 
> My question is how do I (would you) modify this entry to run this 
> script every 10mins (open ended) starting at say... 8:30pm same day 
> and month?   

You can run it every ten minutes with an entry like this:

0,10,20,30,40,50 * * * *       /usr/home/user1/script.sh

If you want it to start running every ten minutes at a given time you'll
need to do something like setting up an earlier cron entry that adds the
above line to the crontab at the appropriate time.  But since its past
August 16th you prolly don't care when it starts...

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908171236.WAA05786>