示例#1
0
 public static function daemon_stop()
 {
     $pids = task_queue::get_pid('--uri=daemon');
     foreach ($pids as $pid) {
         echo 'kill ' . $pid . '<br/>';
         shell_exec('kill ' . $pid);
     }
 }