From c6a016dc5a9bd8484bde8dcc066ac07989922d9e Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 26 Mar 2021 01:32:29 +0800 Subject: [PATCH] modify --- System/Crontab/Crontab.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/System/Crontab/Crontab.php b/System/Crontab/Crontab.php index 83246733..3efa0507 100644 --- a/System/Crontab/Crontab.php +++ b/System/Crontab/Crontab.php @@ -200,8 +200,8 @@ class Crontab extends BaseObject public function execute(): void { try { - var_dump($this->handler); - call_user_func($this->handler, $this->params, $this->name); + $result = call_user_func($this->handler, $this->params, $this->name); + var_dump($result); } catch (\Throwable $throwable) { $this->addError($throwable->getMessage()); } finally {