From aeefabf08790f5193c56e7691602e37bccbc0f17 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 20 Mar 2021 04:07:49 +0800 Subject: [PATCH] modify --- System/Process/CrontabProcess.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/System/Process/CrontabProcess.php b/System/Process/CrontabProcess.php index 45832b92..b2297ffc 100644 --- a/System/Process/CrontabProcess.php +++ b/System/Process/CrontabProcess.php @@ -95,11 +95,13 @@ class CrontabProcess extends Process } if ($content->isLoop()) { $this->names[$name] = Timer::tick(intval($content->getTickTime() * 1000), function ($content) { - $content->execute($this); + var_dump(Timer::class); +// $content->execute($this); }, $content); } else { $this->names[$name] = Timer::after(intval($content->getTickTime() * 1000), function ($content) { - $content->execute($this); + var_dump(Timer::class); +// $content->execute($this); }, $content); } var_dump($this->names);