modify
This commit is contained in:
@@ -189,6 +189,8 @@ class Crontab extends BaseObject
|
||||
public function execute(CrontabProcess $process): void
|
||||
{
|
||||
try {
|
||||
$this->warning('execute crontab.');
|
||||
|
||||
call_user_func($this->handler, $this->params);
|
||||
$this->execute_number += 1;
|
||||
if ($this->execute_number >= $this->max_execute_number) {
|
||||
|
||||
Reference in New Issue
Block a user