* Get the state of a job. * * @param string $jobId The job ID * @return string The job state (waiting, active, delayed, completed, failed, unknown) */
(string $jobId)
| 451 | * @return string The job state (waiting, active, delayed, completed, failed, unknown) |
| 452 | */ |
| 453 | public function getJobState(string $jobId): string |
| 454 | { |
| 455 | return $this->scripts->getState($jobId); |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * Remove a job from the queue. |