Crontab generated mail report can be such pain 😦
It will be generated on each scheduled cron time. Server filesystem performance will suffer from it.
This is how to disable crontab mail report :
- Add “>/dev/null 2>&1” or “
&> /dev/null” at the end of cron line
- Nulling MAILTO variable. Run crontab -e and add ‘
MAILTO=""' at the top of the file
Those steps above will save you a lot of time deleting huge number of mail files generated by cron report.