Stop Crontab from Sending Emails

This week I was starting to get fed up with Crontab and it always sending me emails regarding jobs. I have log files setup and prefer to look at my logs for errors vs crontab flooding my inbox. I never can seem to remember the 2>&1 trick, as I do not constantly use crontab. So I went exploring in the manual and found a nice little track to stop crontab from flooding your sever mail file with mail. Simply put MAILTO='' at the top of your crontab and you are set. No more trying to remember the tricky 2>&1 or any other weird hacks.… Read More