Forum Moderators: coopster
you need to check the details of this error in the server's error log, otherwise, you could just end up just chasing your tail
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
It appears that if there is no communication with the browser it will fail... what does that imply for the cron job which is not being called by a browser?
Currently the cron job is simply:
/usr/local/php74/bin/php /home/username1/domainname.com/scriptname.php
Entirely by coincidence I found that if I put an "echo" command followed by an "ob_flush(); ob_clean();" statement inside the main "while" loop the script ran to completion. If I comment out the single "echo" line it fails again. What would cause this?