can anyone please tell me how to use the logrotate command to send me daily emails with the apache logs?
I cant really find an example like I want
thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know how to use logrotate for this, but it is quite easy to write shell script that archives latest log and sends it to you over e-mail, and then to put this script into crontab.