I have a PHP script that listens on a queue. Theoretically, it\'s never supposed to die. Is there something to check if it\'s still running? Something like
PHP
I have used cmder for windows and based on this script I came up with this one that I managed to deploy on linux later.
#!/bin/bash clear date while true do php -f processEmails.php echo "wait a little while for 5 secobds..."; sleep 5 done