Skip to main content

Jobs and alerts

4 commands. Toolkit id ooa.jobs.

CommandWhat it does
Get jobRead 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 jobsList 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 alertRaise 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 jobStop 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.