!/bin/sh
ps -fe|grep worker/listen |grep -v grep
if [ $? -ne 0 ]
then
nohup /Applications/XAMPP/xamppfiles/htdocs/www_beta/yii worker/listen &
echo “重新启动了1个worker/listen任务…..”
else
echo “监听程序正在运行呢,别担心…..”
fi
著书三年倦写字,如今翻书不识志,若知倦书悔前程 ,无如渔樵未识时
!/bin/sh
ps -fe|grep worker/listen |grep -v grep
if [ $? -ne 0 ]
then
nohup /Applications/XAMPP/xamppfiles/htdocs/www_beta/yii worker/listen &
echo “重新启动了1个worker/listen任务…..”
else
echo “监听程序正在运行呢,别担心…..”
fi