CRON throwing errors due to email password change
My WHM and cPanel was set up by someone more knowledgeable than myself so now I am breaking a few things that I need fixing like in the email client I am receiving CRON error every 5 minutes since CRON was set for 5 minut cycle. I was told if the email pass changes CRON will stop communicating. I set it back to original but I am still receiving errors How to fix?
-
The crontab job does not need or use any email password to send the emails, so that does not help. If you know how to do it add this the the crontab job command line: " > /dev/null 2>&1". i.e. something like this: 0 5 * * * /path/to/command > /dev/null 2>&1
However if the crontab job is sending an error message it would be better to find out why the error occurs and fix it.0 -
The crontab job does not need or use any email password to send the emails, so that does not help. If you know how to do it add this the the crontab job command line: " > /dev/null 2>&1". i.e. something like this:
0 5 * * * /path/to/command > /dev/null 2>&1
However if the crontab job is sending an error message it would be better to find out why the error occurs and fix it.
yes, I fixed that by resetting back the root email password to the original pass when the CRON was created.0
Please sign in to leave a comment.
Comments
3 comments