cron tasks
I am having a problem running cron tasks, that problem is that they dont run! I get no mail from the cron deamon saying why they dont run, I get no messages in /var/log/messages to say they have run.
Here is a copy of the /etc/crontab Code: # Global variables SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly */15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 0 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily 15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly 0 8 * * * * root /usr/bin/freshclam -l /var/log/clam-update.log */5 * * * * cactiuser php /var/www/localhost/htdocs/cacti/cmd.php 0 4 * * * * root /usr/sbin/logrotate /etc/logrotate.conf 0 9 * * * * root /usr/bin/clamscan -r /home/ The first line test -x /usr/sbin/run-crons && /usr/sbin/run-crons does run, and is logged in the messages file, but nothing else is running, and I cant see why...any one have any ideas? Any help appreciated... I am using vixie cron, and it is set to run at boot. (And is indeed runing) |
Did you put any scripts in /etc/cron.daily, /etc/cron.weekly or whatnot? I'm pretty sure that's where things actually get run.
|
All times are GMT -5. The time now is 09:50 AM. |