From 2c642a220180e02cc285f7508eb9621a28523330 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 26 Mar 2021 01:48:33 +0800 Subject: [PATCH] modify --- System/Crontab/Crontab.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/System/Crontab/Crontab.php b/System/Crontab/Crontab.php index ea434235..279fc759 100644 --- a/System/Crontab/Crontab.php +++ b/System/Crontab/Crontab.php @@ -199,7 +199,11 @@ class Crontab extends BaseObject */ public function execute(): void { - var_dump(call_user_func($this->handler, $this->params, $this->name)); + + + var_dump(($this->handler)()); + +// var_dump(call_user_func($this->handler, $this->params, $this->name)); }