From owner-freebsd-database@FreeBSD.ORG Tue Dec 28 14:14:31 2004 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03B5316A4CE for ; Tue, 28 Dec 2004 14:14:31 +0000 (GMT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1F2643D2F for ; Tue, 28 Dec 2004 14:14:30 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [69.27.46.22]) by mail.day-light.net (Postfix) with SMTP id 22A9A352B6; Tue, 28 Dec 2004 08:14:30 -0600 (CST) From: "John Brooks" To: "'Andy Harrison'" , "'Joseph E. Maxwell'" Date: Tue, 28 Dec 2004 08:14:29 -0600 Message-ID: <007801c4ece7$8beecca0$2005010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: Importance: Normal cc: freebsd-database@freebsd.org Subject: RE: Cron jobs setup X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2004 14:14:31 -0000 you probably already know this, but just in case... the command to edit a crontab is: crontab -u whoser -e (assuming that your user is named "whoser") -- John Brooks john@day-light.com > -----Original Message----- > From: owner-freebsd-database@freebsd.org > [mailto:owner-freebsd-database@freebsd.org]On Behalf Of Andy Harrison > Sent: Tuesday, December 28, 2004 8:08 AM > To: Joseph E. Maxwell > Cc: freebsd-database@freebsd.org > Subject: Re: Cron jobs setup > > > On Fri, 24 Dec 2004 22:12:09 -0800, Joseph E. Maxwell > 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 > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to > "freebsd-database-unsubscribe@freebsd.org"