Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

May 282011
 

Enable cron log in Ubuntu 10.04 (Lucid Lynx)

Answer:

By default, the output from cron goes into the default general system log "/var/log/syslog" in Ubuntu.

If you prefer to have an unique file for cron log, you can edit the file "/etc/rsyslog.d/50-default.conf"

Uncomment the line (Remove the #):

#cron.*

And finally restart the log service

# service rsyslog restart

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>