job_status
Check a background job started with job_start: whether it is still running or finished (with its exit code), when it started, and the last lines of its output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | Job id returned by job_start | |
| host | Yes | Server id (or exact name) from hosts_list | |
| lines | No | How many last lines of output to return (default 40, at most 500) | |
| username | No | Login user the job was started as (if one was given to job_start) |