ScheduledDowntime objects can be used to set up recurring downtimes for hosts/services.
Best Practice
Rather than creating a ScheduledDowntime object for a specific host or service it is usually easier
to just create a ScheduledDowntime template and use the apply keyword to assign the
scheduled downtime to a number of hosts or services. Use the to keyword to set the specific target
type for Host or Service.
Check the recurring downtimes example for details.
ScheduledDowntime objects can be used to set up recurring downtimes for hosts/services.
Example:
See
doc/09-object-types.md L624-L674