2012-10-04 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed unexpected execution with monthly planned downtime. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
74ad7677c1
commit
d0caed28b3
|
@ -1,3 +1,8 @@
|
|||
2012-10-04 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed unexpected execution with monthly
|
||||
planned downtime.
|
||||
|
||||
2012-10-03 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* util/tool_api.pl: Changed format for creating events using API.
|
||||
|
|
|
@ -1373,7 +1373,7 @@ sub pandora_planned_downtime_monthly_start($$) {
|
|||
FROM tplanned_downtime
|
||||
WHERE type_periodicity="monthly"
|
||||
AND executed = 0
|
||||
AND periodically_day_from >= ?', $number_day_month);
|
||||
AND periodically_day_from <= ?', $number_day_month);
|
||||
|
||||
foreach my $downtime (@downtimes) {
|
||||
#Convert to identical type.
|
||||
|
|
Loading…
Reference in New Issue