How to enable cron log in Ubuntu
Sunday, May 18th, 2008I have been having some problems debugging some of my cron scripts and when I went looking for the cron log file it didn’t exists. By default, Ubuntu disables the cron log.
The following steps will enable the cron log to allow for better debugging details.
- Edit
/etc/syslog.confand uncomment the line starting withcron.* - Run
/etc/init.d/sysklogd restart - Run
/etc/init.d/cron restart
