tsm jobs

You can use the tsm jobs commands to list, reconnect to, and cancel jobs.

tsm jobs cancel

Cancel a job on the server. Any job can be canceled before it starts running (when queued), but only backup and cleanup jobs can be canceled when they are already running.

Synopsis

tsm jobs cancel --id <jobID> [global options]

Options

-i,--id <jobID>

Required.

Id of the job to cancel.

tsm jobs list

List asynchronous jobs on the server.

Synopsis

tsm jobs list [--status <status>] [global options]

Options

-t,--status <status>

Optional.

Filter for jobs that match the given status.

tsm jobs reconnect

Reconnect to an asynchronous job to display its progress. If no job id is specified, it reconnects to the latest job.

Synopsis

tsm jobs reconnect[--id <jobID>] [global options]

Options

-i,--id <jobID>

Optional.

Specifies the id of the job that should be reconnected.

Global options

-h, --help

Optional.

Show the command help.

-p, --password <password>

Required, along with -u or --username if no session is active.

Specify the password for the user specified in -u or --username.

If the password includes spaces or special characters, enclose it in quotes:

--password 'my password'

-s, --server <url_to_tsm>

Optional.

Use the specified address for Tableau Services Manager. The URL must start with https, include port 8850, and use the server name not the IP address, for example https://mytableauhost:8850. If no server is specified, https://<localhost | dnsname>:8850 is assumed.

--trust-admin-controller-cert

Optional.

Use this flag to trust the self-signed certificate on the TSM controller. For more information about certificate trust and CLI connections, see Connecting TSM clients.

-u, --username <user>

Required if no session is active, along with -p or --password.

Specify a user account. If you do not include this option, the command is run using credentials you signed in with.

Thanks for your feedback! There was an error submitting your feedback. Try again or send us a message.