by root | Dec 6, 2016 | Development, Services
With reference to ‘https://linux.die.net/man/1/monit’, we can use MONIT for log rotation and as exception notifier from a log file. Steps are as follows : Create new file ‘sudo nano /usr/local/bin/rotate’ #/bin/bash /bin/mv $1 $1.`date...