I created custom cron job which is working fine on localhost and was working initially on the server as well but now on the server, it is getting scheduled but status changes from "pending" to "error" and message appeared is "Process went away at 2020-1-10 13:05:05". Please let me know if somebody experienced this, the reason for it?
It is working fine on local server whereas on staging rest of the cron jobs are also working. What is this error due to?