Closes #605 - Adds the five `mc batch` subcommands - Adds a batch framework page to the Administration section of docs
2.3 KiB
mc batch list
minio
Table of Contents
mc batch list
MinIO RELEASE.2022-10-08T20-11-00Z or later
Syntax
The mc batch list
command outputs a list of the batch jobs currently in progress on a
deployment.
EXAMPLE
The following command outputs a list of all jobs currently in
progress on the myminio
alias.
mc batch list myminio
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] batch list TARGET \
--type "string"
Parameters
TARGET
The alias <alias>
and bucket on the MinIO deployment
to which to add the object lifecycle management rule.
--type
List batch jobs only of a certain type.
Global Flags
Example
List all
replicate
type batch jobs
The following command starts the batch of job(s) defined in the file
replication.yaml
on the deployment at alias <mc alias>
myminio
:
mc batch list myminio --type "replicate"
Replace
myminio
with thealias <mc alias>
of the MinIO deployment that should run the job.Replace
replicate
with the job type to output.Currently,
mc batch
only supports thereplicate
job type.
The output of the above command is similar to the following:
ID TYPE USER STARTED
E24HH4nNMcgY5taynaPfxu replicate minioadmin 1 minute ago