Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Job - setMaxParallelism


Job - setMaxParallelism

Description :

This command sets the max parallelism of a job identified by its DBKey. You can pass 0 as the second argument to set the max parallelism to unlimited. This command returns the handle of the updated job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

The DB Key of the job

maxParallelism

Integer

The max parallelism of the job

Example

The following example set the max parallelism of a deploy job to 10, and then set it back to unlimited.

Script





JOBKEY='blcli DeployJob getDBKeyByGroupAndName /default job1'

NEWJOBKEY='blcli Job setMaxParallelism $JOBKEY 10'

NEWJOBKEY1='blcli Job setMaxParallelism $NEWJOBKEY 0'



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5