Tag Archives: Log

Raspberry Pi Enable Cron

By default,  Cron is disabled meaning anything entered into  ‘crontab’ wont be run.

To enable this function, follow the steps below:

Once logged into the Pi use the below command to open up the ‘rsyslog.conf’ file in the Nano editor

cd/etc
sudo nano rsyslog.conf

Once the rsyslog is loaded into nano, navigate to the below section and un-comment the ‘cron’ option

#
# First some standard log files.  Log by facility.
#
auth,authpriv.*              /var/log/auth.log
*.*;auth,authpriv.none          -/var/log/syslog
cron.*                          /var/log/cron.log
daemon.*                        -/var/log/daemon.log
kern.*                          -/var/log/kern.log
lpr.*                           -/var/log/lpr.log
mail.*                          -/var/log/mail.log
user.*                          -/var/log/user.log

Save the document by pressing CTRL + O and then CTRL+X  close the editor.

Reboot the Raspberry Pi:

sudo reboot