job_update
Change a saved Job's command, size, timeout or schedule.
Change a saved Job’s command, size, timeout or schedule.
| Access | Consequential change; requires confirmation |
| Same as | blossom job:update |
Arguments
| Argument | Type | Description |
|---|---|---|
yes |
boolean | true once the person confirms. |
id |
string | Job id. Required. |
data |
object | Required. |
data.name |
string | — |
data.description |
string | — |
data.command |
string | — |
data.source |
object | Image override. |
data.size |
string | Size override. |
data.resources |
object | Custom size. |
data.timeout_seconds |
integer | Default 900. |
data.schedule |
object | — |
Example
{"id":"job-100","data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}