= (60-$this->waitSecond)) { // 最后几秒 不执行 break; } try { $this->handleSecond($s); } catch (\Exception $exception) { Logger::exception('CommandSecond'.static::class,$exception); echo $exception->getMessage(); echo $exception->getTraceAsString(); } sleep($this->sleepSecond); } Helper::add_log('run-s-end' , 'Console', static::class, []); return Command::SUCCESS; } }