Count Deadlines - App-Auto-Patch/AAP3-Wiki GitHub Wiki
Count deadlines allow you to specify the maximum number of deferrals allowed. There are two types of count deadlines; focus, and hard. You can set a focus count deadline along with a hard count deadline.
The maximum number of automatic deferrals allowed if the system is in user-enabled Focus/Do Not Disturb or when a process has requested that the display not go to sleep (for example, during an active meeting). Once the focus count deadline has been met, the workflow always runs even if the user is in Focus/Do Not Disturb.
Command option example:
--deadline-count-focus=5
Command option disable example:
--deadline-count-focus=X
Configuration profile example:
<key>DeadlineCountFocus</key>
<string>5</string>
You should also consider setting the --defferal-timer-focus
option, otherwise the focus deferral timer is based on the default deferral timer.
The maximum number of user selected deferrals allowed before AAP automatically installs updates without asking the user for approval. However, the user is notified that the updates are pending.
Command option example:
--deadline-count-hard=5
Command option disable example:
--deadline-count-hard=X
Configuration profile example:
<key>DeadlineCountHard</key>
<string>5</string>
Delete all locally set count deadlines, thus returning to the default behavior of an unlimited number of deferrals.
Command option example
--deadline-count-delete-all
\
This option can not be set via an MDM configuration profile. However, any other deadline options that are specified via an MDM configuration profile remain in effect.