This commit is contained in:
as2252258@163.com
2021-03-20 03:56:51 +08:00
parent 676bd12416
commit 5c5362e2e5
+3
View File
@@ -116,6 +116,9 @@ class CrontabProcess extends Process
$content = unserialize($content);
$name = $content->getName();
if (isset($this->names)) {
Timer::clear($this->names[$name]);
}
$callback = function () use ($content) {
var_dump('executes');
$content->execute($this);