スクリプトを自動再起動するにはどうすればよいですか?最後の行に問題があると思います。
#!/bin/bash
# a shell script that keeps looping until an exit code is given
php_command="php -q -f $1.php "
shift
nice $php_command $@
ERR=$?
..............
..............
exec $0 $@
次のエラーが表示されますexec: 36: ss.sh: not found