echo "Do something" /bin/sh -c 'echo $$>pidfile && exec "command"' & echo "Ran Command">/path/to/outputfile.txt exit 0 然后我从一个PHP脚本调用它
確定! 回上一頁