I have some site on the Dreamhost. To monitor the traffic and performance, I have Awstats on site and runing many cron jobs every day. I have the experience of how to install AwStats on the Ubuntu server.
The cron job is runing well on the Dreamhost server. The problem is I will receive tons of email about the job status.
Actually, I don’t need these emails. If the job is completed successfully, the Awstats report should be updated. I checked the report often. So the fail of job is not my concern.
To disable cron emails, just add one line code as shown below:
First SSH server.

$ crontab -e

add this line to the top of your cron file:

MAILTO=””

That’s simple. No more cron emails coming.

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

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