crontab

From Initq

Jump to: navigation, search


Log crontab

Make a backup before editing /etc/syslog.conf (cp /etc/syslog.conf /etc/syslog.conf.org). In case something goes wrong.

Add the following line: cron.* -/var/log/cron.log and restart the syslog daemon (from the /etc/rc.d/init.d directory, probably ./sysklogd restart, but this depends on your distro). You probably need to create the cron.log logfile (touch /var/log/cron.log) too before restarting the syslog daemon.

Personal tools