in /etc/syslog.conf I read:
/var/log/messages are empty, as well as /var/log/cron
The /etc/cron.d directory has a file called
cron_maintenance
containing
Quote:
* * * * * root /root/maintenance.sh
|
/root/maintenance.sh runs fine, except one line where I restart a service:
When I ssh under root, I run
Quote:
-bash-3.2# service pdns restart
|
without any problems
Putting the restart in a seperate cron
/etc/cron.d/cron_pdns
Quote:
0 * * * * root service pdns restart
|
Also doesn't seem to work