Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. cat /var/log/syslog | grep cron
  2. Setting up cron.log file
  3. First off go to ```/etc/rsyslog.d/50-default.conf``` file and search for
  4. this line ```#cron.* /var/log/cron.log```
  5. ```
  6. cat /etc/rsyslog.d/50-default.conf | grep cron
  7. ```
  8. Output
  9. ```
  10. #cron.* /var/log/cron.log
  11. # cron,daemon.none;\
  12. ```
  13. Using your favorite text editor, open the file and uncomment the line as shown in line 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement