jobId = $jobId; } public function configure() { } public function run() { $app = new Application(); try { $app->run(JobRunner::class, (object) [ 'id' => $this->jobId, ]); } catch (\Throwable $e) { $GLOBALS['log']->error("JobTask: Failed job run. Job id: ".$this->jobId.". Error details: ".$e->getMessage()); } } }