This commit is contained in:
2021-04-16 15:43:50 +08:00
parent 167114e150
commit d99d0de646
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -207,9 +207,9 @@ abstract class Crontab extends BaseObject
*/
public function execute(): void
{
\Swoole\Coroutine\go(function ($application) {
$application->isRecover($application);
}, $this);
defer(function () {
$this->isRecover();
});
$this->run();
}