Is it possible to configure my CentOS VPS to continually check to make sure that a php script is running? Currently I'm using the screen php method which works fine, but if it gets terminated somehow, how can I start it backup?
I tried adding the command to /etc/rc.d/rc.local, however this morning I checked, and the script wasn't running.