mc batch cancel
Added: mc
RELEASE.2023-03-20T17-17-53Z
Syntax
The mc batch cancel stops an ongoing batch job.
You must specify the job ID. To find the job ID, use mc batch list.
The following command outputs the job definition for the job identified as KwSysDpxcBU9FNhGkn2dCf.
The command has the following syntax:
- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
ALIAS
mc-cmd
Required
The alias for the MinIO deployment on which the job is currently running.
JOBID
mc-cmd
Required
The unique identifier of the batch job to cancel. To find the ID of a job, use mc batch list.
Global Flags
This command supports any of the global flags.
Example
Cancel an ongoing batch job
The following command cancels the job with ID KwSysDpxcBU9FNhGkn2dCf on the deployment at alias myminio:
S3 Compatibility
SILO is the supported server for PGSTY mcli; compatibility with upstream MinIO and other S3 services is best effort.