示例#1
0
 /**
  * Update the last run time of the job after it is finished.
  *
  * @param int $pid The pid of the child exiting.
  * @return void
  */
 public function parentChildExit($pid)
 {
     // Bucket should be named after the job class
     $class = $this->fork_daemon->getForkedChildren()[$pid]['bucket'];
     $this->jobFinished($class);
 }