# JOB-CANCEL

Cancel a currently queued job. This command cannot cancel jobs in the `running` state.

This is useful for troubleshooting MemSQL Ops.

## Usage

```
usage: memsql-ops job-cancel [--settings-file SETTINGS_FILE] job_id

Cancel a job.

positional arguments:
  job_id                Id of job to cancel.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.

```

***

Modified at: April 25, 2023

Source: [/db/v7.3/reference/memsql-ops-cli-reference/memsql-ops-job-management/job-cancel/](https://docs.singlestore.com/db/v7.3/reference/memsql-ops-cli-reference/memsql-ops-job-management/job-cancel/)

(An index of the documentation is available at /llms.txt)
