[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Is the Cron working?



Dear All,

I am using a Raq3 and am having a problem with the Cron. I have read through most of the archive Cron messages, many of which have helped me get this far.

The problem I have is I have recently installed Webalizer 2.01, and have set-up a cron job in the /etc/cron.daily folder that basically runs a split_log command then runs webalizer for each of my sites. The problem I have is if I run the following from the prompt :

run-parts /etc/cron.daily &

my job runs fine, however it does not run automatically. I have done a crontab -l and there is an entry for the cron.daily folder contents to be run at 4.02am.

If anyone can be of assistance I would be greatful.


Make sure you are using *full* paths to your executables in your script. For example, if you are calling Webalizer, make sure you use the full path. i.e.

/usr/local/bin/webalizer .....

rather than just

webalizer .....

Also make sure the script is owned by root, and chmod it to 700.

Hope this helps,

Glen Scott