mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 05:52:43 +08:00
增加指令状态兼容提示
This commit is contained in:
parent
7e40c99219
commit
fede7e3648
@ -51,6 +51,7 @@ class Queue extends Controller
|
||||
$this->command = ProcessService::instance()->think('xtask:start');
|
||||
$this->listen = preg_match('/process.*?\d+.*?running/', $this->message, $attr);
|
||||
} catch (\Exception $exception) {
|
||||
$this->listen = false;
|
||||
$this->message = $exception->getMessage();
|
||||
}
|
||||
$this->title = '系统任务管理';
|
||||
|
Loading…
x
Reference in New Issue
Block a user