Cron execution
Posted by: stupot42
Posted on: 2006-11-03 08:04:00
Hi, I'm fairly new to the cron job thing, and so I'm hoping that I've got a problem that someone will be able to fix fairly easily.
I installed Awstats, and have it all set up and running fine, but I can't seem to get my cron job to run.
In the shell if I type crontab -l I get the following:
0 3 * * * perl /home/<user>/awstats/tools/awstats_buildstaticpages.pl -config=<domain> -update -awstatsprog=/home/<user>/awstats/cgi-bin/awstats.pl -dir=/home/<user>/<domain>/statistics/
Which suggests to me that it is set up ok. BTW, if I just run the command it executes fine and updates my stats. If I've done it right, that should execute at 3am every morning, which is the default from the Wiki guide.
My question is, can anyone suggest why my cron job isn't running? And do I need to register my cron job with the daemon or anything in order to get it running? I was under the impression that the server's daemon automatically checked all users cron jobs once ever minute.