batch:start#

Start the jobs in a batch.

Usage

horizon batch:start [options]

Examples

# Start a batch, running its jobs concurrently
horizon batch:start --batch="pyi2zub057rp"

# Run the jobs one at a time, stopping the batch if any job fails
horizon batch:start --batch="pyi2zub057rp" --mode="serial" --stop-on-failure

Options

This command supports the general CLI options in addition to those listed below.

--batch=BATCH_ID, -b BATCH_ID

ID of the batch to start. You can get batch IDs by running batch:list or by navigating to the Batch Details page in the web interface (go to Batches and click on the batch name). If you omit this option, you will be prompted to select a batch.

--mode=MODE

MODE in which the jobs in the batch will run. MODE can be parallel (default) or serial.

--stop-on-failure

If one job in the batch fails, stop all jobs in that batch.