How to change crontab email setting ( MAILTO ) ?

~ 0 min
02-04-2012 10:31

This is quite easy, just add the MAILTO line to your crontab, preferable to the top, so config parameters stay visible no matter how many entries your crontab has:

MAILTO=example@example.com

 

If you want to stop cron from sending emails at all use this line:

MAILTO=""

 

Average rating 0 (0 Votes)

You cannot comment on this entry

Tags

3Ware