How to avoid cron mails in centos

I configured cron's in my centos server, When the cron executed i got cron mails. I dont know how to avoid it. if any body knows the solutions please help me......!!!

Tags: WHM cPanel CentOS Email cron
user image Author :   andrew

You can redirect your cron mail alert to null directory, like bellow....!!!

# crontab -e
* * * * * /script/ > /dev/null 2>&1
user image
piraisudanrajendran October 11, 2017
Add comment