Date: Wed, 1 Oct 1997 08:50:13 +0930 From: Greg Lehey <grog@lemis.com> To: "Jonathan E. Lyons" <parrothd@midwest.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Crontab Man Page?!?! Message-ID: <19971001085013.22821@lemis.com> 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 References: <3.0.3.32.19970930172454.00752f4c@midwest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971001085013.22821>