From owner-freebsd-questions Wed Sep 9 01:55:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA09013 for freebsd-questions-outgoing; Wed, 9 Sep 1998 01:55:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from studio.watertower.com (studio.watertower.com [204.178.73.201]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA09008 for ; Wed, 9 Sep 1998 01:55:37 -0700 (PDT) (envelope-from david@stumbleinn.dyn.ml.org) Received: from [206.138.229.16] (david@[206.138.229.16]) by studio.watertower.com (8.8.7/8.7.3) with SMTP id EAA14600; Wed, 9 Sep 1998 04:21:30 -0500 (CDT) Date: Wed, 9 Sep 1998 03:52:24 -0500 (CDT) From: David Vondrasek To: Johann Visagie cc: freebsd-questions@FreeBSD.ORG Subject: Re: CRON JOBS In-Reply-To: <19980909104257.A27258@cityip.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 9 Sep 1998, Johann Visagie wrote: > On Wed, 09 Sep 1998 at 02:48 SAT, David Vondrasek wrote: > > > > Ok quick question. I want to run a CRONJOB once a day at 12:00am > > and also one that runs every 10 minutes. Can someone tell me the format > > please. I know it something like. > > > > 0 10 20 30 40 50 filename > > > > This will run the script at 10 minute intervels, correct ? > > Not quite. > > > How do i set for just ONCE a day ? > > See the manpage for crontab(5) :- > man 5 crontab > > Summary... > > Once a day at 00:00 :- > 0 0 * * * /bin/task > > Every 10 minutes :- > 0,10,20,30,40,50 * * * * /bin/othertask > (There's an alternative syntax as well.) Thanks, I had note on this and I just took BAD notes. This helps me understand the notes i have, Thanks Dave -- David L. Vondrasek dlv@watertower.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message