Date: Fri, 24 Dec 2004 22:12:09 -0800 From: "Joseph E. Maxwell" <jemaxwell@jaymax.com> To: freebsd-database@freebsd.org Subject: Cron jobs setup Message-ID: <41CD04B9.404@jaymax.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41CD04B9.404>