CRON throwing errors due to email password change

therussian

Member
Aug 28, 2019
6
1
3
Houston, Texas
cPanel Access Level
Root Administrator
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?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
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:
Code:
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.
 

therussian

Member
Aug 28, 2019
6
1
3
Houston, Texas
cPanel Access Level
Root Administrator
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:
Code:
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.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,252
313
Houston
To clarify, is your issue resolved now? If not, can you please check out the following guidelines for forums posts so that the community can provide you the best assistance possible? Guide To Opening An Effective Forums Thread