Subject: Re: Cron job won't run
To: John Pannell <john@newyearsday.com>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: port-mac68k
Date: 01/09/2000 13:28:13
If root had even tried to run a cron job and failed at it, root would
have gotten email about it (you do have root email forwarded somewhere
useful in /etc/aliases, presuming you're using sendmail, right?).

Did you manually edit /var/cron/tabs/root, or did you su and run
crontab -e? (The former method is wrong, the latter correct.)

       ~ g r @ eclipsed.net

On Sun, Jan 09, 2000 at 01:16:22AM -0700, John Pannell wrote:
> I have downloaded and installed Webalizer to generate nice web stats.  It
> runs from the command line just fine.  I wanted to set it up as a cron job,
> so I added the following line to my /var/cron/tabs/root file:
> 
> #
> # run webalizer to analyze log
> #
> 45      23      *       *       *       /usr/pkg/bin/webalizer -c
> /usr/pkg/etc/newyearsday_wb.conf /var/log/httpd/newyearsday_log
> 
> ...which I would think would tell webalizer to read my config file (-c
> /usr/pkg/etc/newyearsday_wb.conf) and the appropriate web log
> (/var/log/httpd/newyearsday_log) at 11:45 PM.  The config file tells
> webalizer where to output, and as I said, this runs fine if I type it
> myself.
> 
> The cron job doesn't run however.  No new report page is generated and I
> cannot find any evidence in the log files that it ran or generated any
> error.  Does anyone have any suggestions for me?
> 
> 
> -- 
> John Pannell
> 
>