From owner-freebsd-questions Tue Sep 30 17:25:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA03226 for questions-outgoing; Tue, 30 Sep 1997 17:25:16 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA03205 for ; Tue, 30 Sep 1997 17:24:54 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id IAA12359; Wed, 1 Oct 1997 08:50:13 +0930 (CST) Message-ID: <19971001085013.22821@lemis.com> Date: Wed, 1 Oct 1997 08:50:13 +0930 From: Greg Lehey To: "Jonathan E. Lyons" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crontab Man Page?!?! References: <3.0.3.32.19970930172454.00752f4c@midwest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <3.0.3.32.19970930172454.00752f4c@midwest.net>; from Jonathan E. Lyons on Tue, Sep 30, 1997 at 05:24:54PM -0500 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Sep 30, 1997 at 05:24:54PM -0500, Jonathan E. Lyons wrote: > > Hello all, > > Today I was installing a http analyzer and I realized that I had forgotten > the format for contab entires. I checked man crontab 1 & 8 and cron itself, > I could've sworn this info was there..Anyway can someone please post the > format ..ie is it minute hour day month year? I seem to remember using > something like > > 15 * * * /usr/bin/whatever > > to execute that command every 15 minutes? man 5 crontab Section 5 is file formats, so that's where it belongs. You need another * in your entry (for weekday): 15 * * * * /usr/bin/whatever This will execute every hour at 15 minutes past the hour. To do it every 15 minutes, do: 0,15,30,45 * * * * /usr/bin/whatever Greg