Cron

dan radom dan at radom.org
Wed Oct 27 09:18:14 CDT 2004


* Brian Densmore (DensmoreB at ctbsonline.com) wrote:
> Ok, I added my blacklist script to the /etc/cron.daily subdirectory.
> I gave it the same ownership and rights as the other scripts in there.
> I am using the same shell to execute it. But it is not running, or if it
> is it is not updating the blacklist hold file. If I run it manually it
> works. I figured that since I was making it a "system" cron job that
> simply placing it in the directory would activate it. Apparently that
> isn't the case. I know I can create a root cronjob to do this, but I
> really wanted it to be part of the base system. What am I doing wrong?
> 

Just a guess, but cron doesn't know about your $PATH, so you'll need to
set it in your script or use the absolute paths in your commands.  Have
you checked the cron log?

dan



More information about the Kclug mailing list