From owner-freebsd-database@FreeBSD.ORG Sat Dec 25 06:09:23 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 E53AB16A4CE for ; Sat, 25 Dec 2004 06:09:23 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A041443D2D for ; Sat, 25 Dec 2004 06:09:23 +0000 (GMT) (envelope-from jemaxwell@jaymax.com) Received: (qmail 19974 invoked from network); 25 Dec 2004 06:09:23 -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 ; 25 Dec 2004 06:09:23 -0000 Message-ID: <41CD04B9.404@jaymax.com> Date: Fri, 24 Dec 2004 22:12:09 -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: freebsd-database@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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: Sat, 25 Dec 2004 06:09:24 -0000 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 where pam2deb.shl is the shell script, permissions 755 So far w/ little success, the script did not run, much less send a mail, does this syntax have a problem? and cron is running ps -waux | grep cron root 142 0.0 0.1 1024 696 ?? Is 26Jul04 0:49.29 /usr/sbin/cron at least apparently Thanks