作者 邓超

1

@@ -134,12 +134,12 @@ $ps = "ps -ef | grep \"send_job.php start\" | grep -v grep | wc -l"; @@ -134,12 +134,12 @@ $ps = "ps -ef | grep \"send_job.php start\" | grep -v grep | wc -l";
134 134
135 switch ($argv[1]??0){ 135 switch ($argv[1]??0){
136 case 'start':{ 136 case 'start':{
137 - $num = exec($ps);  
138 - if($num){  
139 - echo '正则运行,请勿重复运行';  
140 - }else{ 137 +// $num = exec($ps);
  138 +// if($num){
  139 +// echo '正则运行,请勿重复运行';
  140 +// }else{
141 start(); 141 start();
142 - } 142 +// }
143 break; 143 break;
144 } 144 }
145 case 'stop':{ 145 case 'stop':{
@@ -280,12 +280,12 @@ $ps = "ps -ef | grep \"sync.php start\" | grep -v grep | wc -l"; @@ -280,12 +280,12 @@ $ps = "ps -ef | grep \"sync.php start\" | grep -v grep | wc -l";
280 280
281 switch ($argv[1]??0){ 281 switch ($argv[1]??0){
282 case 'start':{ 282 case 'start':{
283 - $num = exec($ps);  
284 - if($num){  
285 - echo '正则运行,请勿重复运行';  
286 - }else{ 283 +// $num = exec($ps);
  284 +// if($num){
  285 +// echo '正则运行,请勿重复运行';
  286 +// }else{
287 start(); 287 start();
288 - } 288 +// }
289 break; 289 break;
290 } 290 }
291 case 'stop':{ 291 case 'stop':{