Stop Cron Emails, Delete Sendmail Queue?
All of my cron jobs seem to be sending emails to the root email address every second as I have lots of cron jobs running that need to run.I seem to have over 5000 mails in my queue at the moment. My first questions is, how do I clear a send mail queue?
I logged into ssh and tried to get into the root mailbox, but it says no email is in there, yet the cron emails are being sent to root@ and I see 5000+ in the queue.
Also how do you make sure a cron does not send an email when it runs. I have a cron that says this:
php -f /sites/forumhoster.com/admin/chkserv.php
I was told if I change it to this it will stop emails, yet they are still being added to the queue:
php -f /sites/forumhoster.com/admin/chkserv.php>/dev/null 2>&1