Jobs and alerts
4 commands. Toolkit id ooa.jobs.
| Command | What it does |
|---|---|
| Get job | Read the state of another run: running, success, failed or stopped, when it started and ended, and its error. The run's user must be allowed to see runs of that agent. |
| List jobs | List runs the run's user may see: the active ones (queued or running), the finished ones, or all; of one agent or of every agent; newest first. |
| Raise alert | Raise an alert in Monitor > Alerts. It goes to the people, e-mail addresses and webhook of the alert rules of kind Raised by an agent (for every agent or this one); with no such rule it is only listed there. It stays open until someone acknowledges it. A run raises at most 20 alerts, and the same subject once. |
| Stop job | Stop another run: a queued run is removed, a running one stops at its next step. Needs the run's user to be allowed to stop runs; an agent stops itself with Stop agent instead. |