0

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......!!!

WHM cPanel CentOS Email-Client cron Add a comment
andrew
asked Oct 10 2017

Answer

0

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

# crontab -e
* * * * * /script/test.sh > /dev/null 2>&1
Add a comment
piraisudanrajendran
asked Oct 10 2017
edited Oct 05 2018
Post your Answer