mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
4746b214d6
commit
a8ee6b2009
@ -106,7 +106,8 @@ void ScheduledDowntime::Start(bool runtimeCreated)
|
|||||||
void ScheduledDowntime::TimerProc(void)
|
void ScheduledDowntime::TimerProc(void)
|
||||||
{
|
{
|
||||||
BOOST_FOREACH(const ScheduledDowntime::Ptr& sd, ConfigType::GetObjectsByType<ScheduledDowntime>()) {
|
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