Disable crontab email to user

So your daily jobs send you email and you want it to stop well just add this to then end of all your cron jobs:

 

>/dev/null 2>&1

 

This means send standard output and standard error to /dev/null which throws it away.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.