This commit is contained in:
2021-03-19 19:20:50 +08:00
parent 88061f5f3d
commit 667b710ec2
+1 -1
View File
@@ -158,7 +158,7 @@ class Crontab extends BaseObject
$redis = Snowflake::app()->getRedis();
try {
$this->execute_number += 1;
call_user_func($this->handler, $list['params'] ?? null);
call_user_func($this->handler, $this->params);
if ($this->isLoop === false) {
return;
}