Skip to main content

Allow/Blackout Windows

Alectrona Patch allows you to define global allow and blackout windows to control when updates can be installed on your devices. These windows help ensure that updates occur during appropriate times, minimizing disruption to end-users.

Consider Your Update Strategy

Alectrona Patch's default behavior of attempting updates every four hours ensures devices get into compliance as quickly as possible. With the Patch Menu Bar app limiting distractions for open applications, most organizations find the default cadence strikes the right balance.

Implementing update windows will reduce the frequency of update attempts, which may increase the time it takes to bring devices into compliance. Consider whether strict scheduling requirements outweigh faster compliance times for your organization.

Common Use Cases​

Here are some common scenarios for using allow and blackout windows:

"We don't want updates to occur during business hours on weekdays, but it's okay to update during weeknights and weekends."

<!-- Domain: com.alectrona.patch-agent -->

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>GlobalBlackoutWindows</key>
<array>
<!-- Block Mon–Fri, 7AM–7PM -->
<dict>
<key>type</key>
<string>deny</string>

<key>days</key>
<array>
<string>mon</string>
<string>tue</string>
<string>wed</string>
<string>thu</string>
<string>fri</string>
</array>

<!-- 7AM to 7PM -->
<key>start</key>
<dict>
<key>hour</key>
<integer>7</integer>
<key>minute</key>
<integer>0</integer>
</dict>

<key>end</key>
<dict>
<key>hour</key>
<integer>19</integer>
<key>minute</key>
<integer>0</integer>
</dict>
</dict>
</array>
</dict>
</plist>
Precedence of Blackout over Allow Windows

When both allow and blackout windows are defined, blackout windows take precedence over allow windows. This means that if a time period falls within both an allow window and a blackout window, updates will be blocked during that time.