I would like to email a certain log file to myself on a daily basis. Can someone explain to me how to do this on Fedora Core 1 running apache and Plesk 7. Thanks.
This is usually already setup on fedora. A program called logwatch sends a summary of your logs every morning. If you arn not getting it, you may have to look at /etc/aliases in a text editor. Near the bottom you will see a line like this:
#root: marc
Uncomment it and change marc to your username or email address. So now it will look like this:
root: nerbonne
Now you need to run 'newaliases' from the command line. This is not an apache issue so if this doesn't answer your question, you may want to post this in the linux (server) forum forum54 for help with cron stuff or the sendmail forum forum14 if the mail isn't being sent.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.