Changes

Jump to navigation Jump to search
209 bytes added ,  14:32, 3 September 2018
Line 85: Line 85:  
This will allow to avoid having to type the full path to the script
 
This will allow to avoid having to type the full path to the script
 
  PATH=/bin:/sbin:/usr/bin:/usr/sbin:/home/user/scripts
 
  PATH=/bin:/sbin:/usr/bin:/usr/sbin:/home/user/scripts
 +
 +
=== Enable logging to /var/log/cron.log ===
 +
Add to /etc/rsyslog.d/50-default.conf the line:
 +
cron.*                        /var/log/cron.log
 +
 +
Save and restart rsyslog service
 +
sudo systemctl restart rsyslog

Navigation menu