Date: Tue, 28 Dec 2004 09:08:10 -0500 From: Andy Harrison <aharrison@gmail.com> To: "Joseph E. Maxwell" <jemaxwell@jaymax.com> Cc: freebsd-database@freebsd.org Subject: Re: Cron jobs setup Message-ID: <a22ff29404122806083de7a170@mail.gmail.com> In-Reply-To: <41CD04B9.404@jaymax.com> References: <41CD04B9.404@jaymax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Dec 2004 22:12:09 -0800, Joseph E. Maxwell <jemaxwell@jaymax.com> wrote: > I am setting up a cron job to run a shell script at 1 hr interval and to > have the output of the script sent to a user. I have this in the cron > file inserted by crontab > > cat /var/cron/tabs/whoser > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (cron_reg installed on Fri Dec 24 18:13:01 2004) > # (Cron version -- $FreeBSD: > src/usr.sbin/cron/crontab/crontab.c,v 1.12.2.4 2001/06/16 > 03:18:37 peter Exp $) > 0 1 * * * > /blah/blah/blah/blah/blah/blah/blah/blah/blah/blah/pam2deb.shl > MAILTO=user Reread the crontab manpage. 0 1 * * * doesn't mean once per hour, it means that it will run every day at 1AM. If you want once per hour, I believe you can do */60 * * * * -- Andy Harrison
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a22ff29404122806083de7a170>