dcos job show

dcos job show

Description

Show the job definition.

Usage

dcos job show <job-id> [OPTION]

Options

None.

Positional arguments

Name, shorthand Default Description
<job-id> Specify the job ID.

Parent command

Command Description
dcos job Deploy and manage jobs in DC/OS.

Examples

Show the job definition

In this example, the job definition for my-scheduled-job is shown.

dcos job show my-scheduled-job

Here is the output:

{
  "description": "A job that sleeps on a schedule",
  "id": "my-scheduled-job",
  "labels": {},
  "run": {
    "artifacts": [],
    "cmd": "sleep 20000",
    "cpus": 0.01,
    "disk": 0,
    "env": {},
    "maxLaunchDelay": 3600,
    "mem": 32,
    "placement": {
      "constraints": []
    },
    "restart": {
      "policy": "NEVER"
    },
    "volumes": []
  }
}