Job lifecycle
run creates a persisted job and normally observes it briefly. The returned job_id identifies the same job for status, wait, tail, kill, and restart.
- Run a command and retain the
job_id. - Use
statusfor current state. - Use
waitfor a bounded observation window and terminal exit code when available. - Use
tailfor bounded, repeatable log excerpts. - Use
killonly to explicitly cancel a running job.
Initial observation ending does not stop the managed command.