mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 23:54:07 +02:00
parent
14a5be30e0
commit
4c7b5f710f
@ -106,7 +106,8 @@ void ScheduledDowntime::Start(bool runtimeCreated)
|
||||
void ScheduledDowntime::TimerProc(void)
|
||||
{
|
||||
BOOST_FOREACH(const ScheduledDowntime::Ptr& sd, ConfigType::GetObjectsByType<ScheduledDowntime>()) {
|
||||
sd->CreateNextDowntime();
|
||||
if (sd->IsActive())
|
||||
sd->CreateNextDowntime();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user