Cron jobs setup

Joseph E. Maxwell jemaxwell at jaymax.com
Fri Dec 24 22:09:24 PST 2004


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


More information about the freebsd-database mailing list