ExclusionWindow - updateWindowWithOneTimeSchedule
ExclusionWindow - updateWindowWithOneTimeSchedule
Description :
This command updates an existing Exclusion Window to have a one-time schedule.
The dateString argument defines a one-time schedule to be added to the window definition. It must be in the format YYYY-MM-DD HH:MM:SS.
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
windowName | String | Name of Exclusion Window to be updated |
dateString | String | One-time schedule for the Window. The date string must be in the format YYYY-MM-DD HH:MM:SS. |
windowDurationDays | String | Duration, number of days |
windowDurationHours | String | Duration, number of hours |
windowDurationMinutes | String | Duration, number of minutes |
Example
The following example shows how to update an existing window to have a one-time schedule on the 1st of January 2016 at 11:35 PM and that extends for 5 hours 35 minutes.
Script
DATE_STRING="2016-01-01 23:35:00"
EXCLUSION_WINDOW_NAME="ONETIME_WINDOW"
WINDOW_KEY=`blcli ExclusionWindow updateWindowWithOneTimeSchedule
"$EXCLUSION_WINDOW_NAME" "$DATE_STRING" 0 5 35`
Was this page helpful? Yes No
Submitting...
Thank you
Comments