So I'm successfully (to my surprise as I'm such a noob) reading the output of a PHP script and doing different things with the output depending on the content. I'm very happy. It's working. But the script is told to initialise by a timestamp which is set to only run once and then not repeat.
Somewhere down the line obviously something is going to go wrong and the 'link' between node-red and that script running will be broken.
How do I go about checking for that and engineering in restarting the script as and when needed?