From owner-freebsd-database@FreeBSD.ORG Tue Dec 28 14:08:11 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 7597216A4CE for ; Tue, 28 Dec 2004 14:08:11 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E4AE43D1F for ; Tue, 28 Dec 2004 14:08:11 +0000 (GMT) (envelope-from aharrison@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so126406rne for ; Tue, 28 Dec 2004 06:08:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RnsPUJGARxXL58IkGfUHZ3Qt6YNkOFXkIGb7QECIZGq/MeAe9pZAk8bfWwuuXsFE6STg90bLhvgfpqFVit5miUJmSnVzDOcQF+G+DrEB7bxEIGWn3Ll3ArqmuUhSFbAJq3zKFdTYw1EFIUBv/Hm58e5mResR7UfZxOr5XwZB5sA= Received: by 10.38.65.15 with SMTP id n15mr140112rna; Tue, 28 Dec 2004 06:08:10 -0800 (PST) Received: by 10.38.101.36 with HTTP; Tue, 28 Dec 2004 06:08:10 -0800 (PST) Message-ID: Date: Tue, 28 Dec 2004 09:08:10 -0500 From: Andy Harrison To: "Joseph E. Maxwell" In-Reply-To: <41CD04B9.404@jaymax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41CD04B9.404@jaymax.com> 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: Andy Harrison 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:08:11 -0000 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