作者 邓超

x

... ... @@ -6,10 +6,10 @@ use Swoole\Process;
include_once __DIR__."/../vendor/autoload.php";
exec("ps -aux|grep -E \"mail-serve-sync-list\" -c",$exec);
if(intval($exec[0]) > 200){
exit;
}
//exec("ps -aux|grep -E \"mail-serve-sync-list\" -c",$exec);
//if(intval($exec[0]) > 200){
// exit;
//}
swoole_set_process_name("mail-serve-sync-list");
... ... @@ -35,7 +35,7 @@ while (1){
}
}
sleep(1);
usleep(1000);
}
... ...