---
schema_version: "1"
id: d8685bd1b3df1e2215f1ac55b2c12530235d7e0b0e2c4b743da4a5e39d0c80a7
title: Cancel TSM Jobs
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server/tsm-jobs-cancel.md
canonical_url: https://help.tableau.com/v0.0/server/en-us/tsm-jobs-cancel.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 953b943b48bce28a44fd60198ead96cd2f8b0c7f8dab64530b1c3afaa91a6b42
description: Cancel TSM jobs using the web interface or CLI.
---
[Skip to main content](#main-content)

# Cancel TSM Jobs

TSM Jobs can be canceled through TSM web interface or TSM CLI. There are many TSM jobs, but only certain jobs can be canceled once they are in progress. Any job that hasn’t yet started can be canceled using TSM CLI.

**TSM web interface**: For jobs that can be canceled while they are running, the Cancel option is available in the Job dialog box as shown below:

![Cancel Running Job confirmation window.](/tableau/next/en-us/server/en-us/Img/tsm-job--confirm-cancel.png)

**TSM CLI:** To cancel jobs using TSM CLI, see [tsm jobs](https://help.tableau.com/v0.0/server/en-us/cli_jobs_tsm.htm).

To see more information about TSM jobs in general, see [Tableau Service Manager Jobs](https://help.tableau.com/v0.0/server/en-us/tsm-jobs.htm).

## Canceling Jobs that are in progress

Only certain jobs can be canceled while they are already running: Cleanup, Decommission File Store, Generate Backup, Restart Server, Start Server. The cancel behavior can be different depending on the job and the state of the job at the time it was canceled. This is explained in detail below:

- **Cleanup:** If you cancel a cleanup job, it will stop any services that were started in order to do the cleanup. Depending on when it was canceled, some files may be deleted and some may not have been deleted yet resulting in partial cleanup.
- **Decommission File Store:** If you cancel this job, it returns the Tableau Server File Store topology to the state that it was prior to starting the decommissioning process.
- **Generate Backup:** If you cancel this job, any services used for backup are stopped and Tableau Server will try to delete any files that it created as part of the backup process.
- **Restart Server**:
    - Job is canceled when Tableau Server processes are stopping: The job is canceled, but the services will try to get to a stopped state.
    - Job is canceled while Tableau Server processes are restarting: The job is canceled, but the services will try to restart.
- **Start Server**: The job will be canceled, but the processes will still try to start.
- **Stop Server**: The job will be canceled, but the services will try to stop.

Here are some of the main reasons why you may want to cancel a job:

1. Since tsm jobs can only be run one at a time, you might need to cancel a current job if you need to run another job instead.
2. If the running job includes changes to the Tableau Server that you did not intend to make.