Wednesday, 29 August 2012

disable mails from CRON

 

This will help you disable email which are sent from cron whenever it runs.

Edit/Open your cron jobs

 
$ crontab -e


At the top of the file, enter:
 
MAILTO=""


Save with :wq and restart cron


$ /etc/init.d/crond restart



 
that should do the trick!!!

No comments:

Post a Comment