改名
This commit is contained in:
@@ -204,6 +204,7 @@ abstract class Crontab extends BaseObject
|
||||
*/
|
||||
public function execute(): void
|
||||
{
|
||||
try {
|
||||
$redis = Snowflake::app()->getRedis();
|
||||
|
||||
$name_md5 = $this->getName();
|
||||
@@ -220,8 +221,12 @@ abstract class Crontab extends BaseObject
|
||||
'name' => $this->name,
|
||||
'response' => serialize($params)
|
||||
]));
|
||||
} catch (\Throwable $throwable) {
|
||||
logger()->addError($throwable, 'throwable');
|
||||
} finally {
|
||||
$this->after();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user