{"record":{"id":"28656b4f1a41ec40","repo":"getgrav/grav","slug":"job-execution-failed","errorCode":null,"errorMessage":"Job execution failed","messagePattern":"Job execution failed","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"system/src/Grav/Common/Scheduler/Job.php","lineNumber":930,"sourceCode":"                // Run the job\n                $result = $this->run();\n                \n                // Record execution time\n                $this->executionDuration = microtime(true) - $this->executionStartTime;\n                \n                if ($result && $this->isSuccessful()) {\n                    // Call success callback\n                    if ($this->onSuccess) {\n                        call_user_func($this->onSuccess, $this);\n                    }\n                    \n                    // Run chained jobs\n                    $this->runChainedJobs(true);\n                    \n                    return true;\n                }\n                \n                throw new RuntimeException('Job execution failed');\n                \n            } catch (\\Exception $e) {\n                $lastException = $e;\n                $this->output = $e->getMessage();\n                $this->successful = false;\n                \n                if ($attempts < $this->maxAttempts) {\n                    // Call retry callback\n                    if ($this->onRetry) {\n                        call_user_func($this->onRetry, $this, $attempts, $e);\n                    }\n                    \n                    // Calculate delay before retry\n                    $delay = $this->calculateRetryDelay($attempts);\n                    if ($delay > 0) {\n                        sleep($delay);\n                    }\n                } else {","sourceCodeStart":912,"sourceCodeEnd":948,"githubUrl":"https://github.com/getgrav/grav/blob/6040efed04efa69b8209448ed81308e7c24147c2/system/src/Grav/Common/Scheduler/Job.php#L912-L948","documentation":"Error \"Job execution failed\" thrown in getgrav/grav.","triggerScenarios":"Thrown at system/src/Grav/Common/Scheduler/Job.php:930 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6040efed04efa69b8209448ed81308e7c24147c2","analyzedAt":"2026-08-17T05:07:31.593Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}