I have a php script setup on my centos server that does some video encoding, and I include that script in 4 other php scripts that I each run every few minutes (alternating minutes) via cron.
I have each cron set to email me when the scripts run and when there is output.
So, I have this odd situation where every once in a while, the results of the script are odd. It almost looks like an older iteration of the script is running, one that I fixed some time ago.
However, when this happens and the results of the video encoding come out this way, the email I get from cron is always odd too.
It comes to me as a blank attachment and the content-type of the email is as an application rather than text.
So, when this happens I am not able to review the output to see what went wrong.
It's very odd. I double-checked to be sure there wasn't an older version of the script or a different cron out there and I don't see any.
Is there any other explanation or anything I can do to try to track down what could be happening here?