dcos job run

Running a DC/OS job

Description

The dcos job run command allows you to run a job now.

Usage

  1. dcos job run <job-id> [--json]

Options

NameDescription
-h, —helpPrint usage.
—jsonPrint JSON-formatted list instead of a table.

Positional arguments

NameDescription
<job-id>Specify the job ID. You can view the job IDs with the dcos job list command.

Examples

Run a job

In this example, you can run a job named my-job.

  1. dcos job run my-job

Parent command

CommandDescription
dcos jobDeploy and manage jobs in DC/OS.