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

[cobalt-users] Crontab not working?



Hello,
I am not sure what I'm doing wrong.  I installed logcheck, and it works
fine.  I made a little script to run it and placed it in cron.hourly.
When I manually run it ./logcheck it runs fine, but it is not running by
itself every hour.  How do I find out if it's running or not?  I checked the
cron log file /var/log/cron and it shows that the /etc/cron-hourly seems to
be working, but it's obviously not running my little script, so I placed the
command to run the logcheck script directly into /etc/crontab.  I restarted
crontab, and now it's working.  So, my question is why is it NOT running
when I just place it in the cron.hourly directory, but when I add it to the
crontab it does work.  Is there anything I could do to check and see if the
cron directories are actually working?
Thanks,
Gregg