Schedule - changeSchedulePriority
Schedule - changeSchedulePriority
Description :
This command changes a schedule to a specified priority.
To get the scheduleId, use the findScheduleIdsByJobKey command.
Set the jobPriorityString argument to one of the following priorities:
- CRITICAL
- HIGH
- NORMAL
- LOW
- LOWEST
Return type : com.bladelogic.om.infra.model.job.schedule.JobSchedule
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
scheduleId | Integer | ID of the schedule whose priority you want to change. |
jobPriorityString | String | Priority to which you want to set the schedule. Use one of the strings listed above. |
Example
The following example sets the schedule with ID 2000000 to have a priority of HIGH.
Script
blcli Schedule changeSchedulePriority 2000000 HIGH
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*