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 JOBTerminate 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
--fidsoption, or you can navigate to Jobs > Job Details in the web interface.--all, -aTerminate 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.