job:stop#

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

Usage

horizon job:stop [options]

Examples

# Stop a single job
horizon job:stop --job="f9jfgvcd77py"

# Stop two jobs and discard their output
horizon job:stop --job="f9jfgvcd77py" --job="ya8goe19fhir" --discard

# Stop a job immediately, without waiting for CONVERGE to finish writing output files
horizon job:stop --job="f9jfgvcd77py" --force

# Stop all of your active jobs
horizon job:stop --all

Options

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

--job=JOB_ID, -j JOB_ID

Stop the job with the specified JOB_ID. To get the job ID, run job:list or navigate to Jobs > Job Details in the web interface.

Repeatable—To stop multiple jobs, pass this option once per job.

--all, -a

Stop all jobs with the following statuses: Pending, Provisioning, Running, and Interactive. Unless you are a team manager, this applies only to your own jobs with those statuses.

Before using this option, double-check which jobs are in the statuses listed above to confirm that you are ready to stop all of them.

--discard

Discard all simulation data after stopping the job(s). If you pass the --discard option, the --force option is applied automatically whether you specify it or not.

Use this option with caution. Discarded output cannot be recovered.

--failed

Mark the job(s) as Failed instead of Stopped.

--force

End the simulation immediately instead of stopping gracefully. CONVERGE will not create a restart file or finish writing output files.