Documentation/Scheduling/Status Definitions
From ScriptRunner
Revision as of 20:40, 8 October 2020 by Shaun.mccreery (talk | contribs)
Documentation :: Scheduling :: Time Scheduled Scripts
Batch Instance Statuses
| Status | Definition |
|---|---|
| BUILDING | ScriptRunner is still building this Batch Instance and resolving all dependencies. This is the initial status for all Batch Instances. No jobs will run when in this status. |
| READY | All jobs are either in READY status or AWAITING_DEPENDENCY. |
| RUNNING | At least one job is running, and there are no failed jobs. |
| ERROR | At least one job has failed. |
| COMPLETED | All jobs are either completed or cancelled. |
| ABANDONED | When building the batch instance, no jobs were found to run. |
| ON_HOLD | At least one job is set as MANUAL_HOLD, and no jobs have failed or are currently running. |
Batch Instance Jobs
| Status | Definition |
|---|---|
| BUILDING | ScriptRunner is still building this Batch Job and resolving its dependencies. This is the initial status for all Batch Jobs. The job will not run in this status. |
| READY | The job is ready to run and awaiting a time dependency. |
| AWAITING_DEPENDENCY | The job is awaiting preceding jobs to complete. |
| PREPARING | The job has been selected to run by a controller or agent, and it is currently collecting the required information to run it. |
| WAITING | The job has been selected to run, and it currently waiting for the controller or agent to start it. |
| RUNNING | The job is currently executing. |
| FAILED | The job either had a problem starting, or started and had a return code higher than allowed by the given script. |
| COMPLETED | The job successfully ran and provided a acceptable return code. |
| CANCELLED | The job was either marked as disabled, or was manually cancelled. |
| MANUAL_HOLD | The job has been manually set to this status to prevent it from running. |