From owner-freebsd-database@FreeBSD.ORG Tue Dec 28 19:57:37 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 363A016A4CF for ; Tue, 28 Dec 2004 19:57:37 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A499A43D1D for ; Tue, 28 Dec 2004 19:57:36 +0000 (GMT) (envelope-from jemaxwell@jaymax.com) Received: (qmail 22906 invoked from network); 28 Dec 2004 19:57:36 -0000 Received: from dsl093-045-209.sac1.dsl.speakeasy.net (HELO [192.168.2.2]) (jaymax@[66.93.45.209]) (envelope-sender ) by mail4.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Dec 2004 19:57:35 -0000 Message-ID: <41D1BB58.6030408@jaymax.com> Date: Tue, 28 Dec 2004 12:00:24 -0800 From: "Joseph E. Maxwell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: john@day-light.com References: <007801c4ece7$8beecca0$2005010a@daylight.net> In-Reply-To: <007801c4ece7$8beecca0$2005010a@daylight.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-database@freebsd.org Subject: Re: Cron jobs setup X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 19:57:37 -0000 Thanks, timing corrections made - but the MAILTO "the other user", still up in the air - any ideas on this? John Brooks wrote: >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" >> >> > > > >