diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 8ac35fb8b7..9d6535807e 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -1794,6 +1794,7 @@ sub pandora_planned_downtime_monthly_start($$) { FROM tplanned_downtime WHERE type_periodicity = ? AND executed = 0 + AND type_execution <> ' . $RDBMS_QUOTE_STRING . 'once' . $RDBMS_QUOTE_STRING . ' AND ((periodically_day_from = ? AND periodically_time_from <= ?) OR (periodically_day_from < ?)) AND ((periodically_day_to = ? AND periodically_time_to >= ?) OR (periodically_day_to > ?))', 'monthly', 'number_day_month',