From owner-freebsd-questions Tue Aug 17 5:35:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ares.maths.adelaide.edu.au (Ares.maths.adelaide.edu.au [129.127.44.147]) by hub.freebsd.org (Postfix) with ESMTP id 28B59155D9 for ; Tue, 17 Aug 1999 05:35:06 -0700 (PDT) (envelope-from glewis@ares.maths.adelaide.edu.au) Received: (from glewis@localhost) by ares.maths.adelaide.edu.au (8.9.3/8.9.3) id WAA05786; Tue, 17 Aug 1999 22:06:18 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <199908171236.WAA05786@ares.maths.adelaide.edu.au> Subject: Re: Crontab entry question... In-Reply-To: from William Melanson at "Aug 16, 1999 09:58:12 pm" To: William Melanson Date: Tue, 17 Aug 1999 22:06:18 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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