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
Simple bash script
#!/bin/bash while [true]; do if ! pidof -x script.php; then php script.php & fi done