Menu

[Solved]1 Turn Daemon Cron Logging Features 2 Set Daemon Log Error Cron Log Debug Status 3 Create Q37156023

1) Turn on the daemon and cron logging features. 2)Set the daemon log to ‘error’ and the cron log to ‘debug’ status.3) create a script that rotates these logs every day and place themin the following directories: a)/var/log/cron/$year/$month/$today’sDate-Cron.log b)/var/log/daemon/$year/$month/$today’sDate-Daemon.log 4) If the year(2019) or month (04) doesn’t exist, then create it 5) Zero out thelog of both of these from their original source. example. cat/dev/null > /var/log/cron.log or daemon.log 6) Put an entry intoroot’s crontab that will accomplish this feat every day at 00:01 AMPlease provide answers with ubuntu terminal screenshots

Expert Answer


Answer to 1) Turn on the daemon and cron logging features. 2) Set the daemon log to ‘error’ and the cron log to ‘debug’ status. 3)… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *