Issue of cron job break suddenly

Hi, I’ve been facing a problem where one of the Cron jobs processes was suddenly killed or crashed. It doesn’t happened frequently and I couldn’t find a root cause or a way to replicate the issue. I’m using PHP MVC on Cloudways as my server. What could possibly caused such issues? And is there any ways I can do to make the Cron jobs restarted itself after failing or crashed? Or what are the possible steps to overcome if the issue happens in the future? Thanks in Advance

cron typically emails the standard output and error of a command to the user scheduling the command, so make sure your cron job has some output on success and on failure. If it’s the cron daemon crashing, you’ll need to look at your logs to find the problem.