Stop cron emails at Dreamhost

| No Comments | No TrackBacks

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.


Related Articles

No TrackBacks

TrackBack URL: http://www.yinfor.com/mtcgi/mt-t-0912.cgi/2081

Leave a comment

About this Entry

This page contains a single entry by David Yin published on February 18, 2008 4:29 PM.

Repaire corrupted MyISAM tables was the previous entry in this blog.

One-Click install of Joomla! 1.5 on Dreamhost is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en

Online Tools