ExclusionWindow - updateWindowWithDailySchedule
ExclusionWindow - updateWindowWithDailySchedule
Description :
This command updates an existing Exclusion Window to have a daily schedule.
The dateString argument defines a daily 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 Window to be updated |
dateString | String | Daily schedule to be added. 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 exclusion window to have a daily schedule at 11:35 PM and that extends for 5 hours and 35 minutes.
Script
EXCLUSION_WINDOW_NAME="DAILY_WINDOW"
EXCLUSION_WINDOW_KEY=`blcli ExclusionWindow updateWindowWithDailySchedule
"$EXCLUSION_WINDOW_NAME" "$DATE_STRING" 0 5 35`