job:terminate

Deprecated

Deprecated in version 2.4.2. Use job:stop instead.

Terminate one or more active jobs. If you are not a team manager, you can only terminate your own jobs. If you are a team manager, you can terminate any of your team’s jobs.

Usage

horizon job:terminate [options]

Examples

# Terminate job with ID 6jl49c5b-2ag7-46cd-191g-112e75nm920c
horizon job:terminate --job=6jl49c5b-2ag7-46cd-191g-112e75nm920c

# Terminate all of your active jobs
horizon job:terminate --all

Options

This command supports the general CLI options in addition to those listed below.

--job=JOB, -j JOB

Terminate job(s) with the specified ID(s). JOB can be a single job ID or a comma-delimited list of job IDs. To get the job ID, you can run job:list with the --fids option, or you can navigate to Jobs > Job Details in the web interface.

--all, -a

Terminate all of your jobs that are currently active.

Caution

Before using this option, double-check which of your jobs are currently active (this includes jobs with a status of Pending, Provisioning, or Running). All of your active jobs will be terminated immediately and their output will not be saved.