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