[CHANGED] Do not send mail on uptime robot update
Do not send a mail notification in case the uptime robot updates are failing. Fixes #897 once merged.
This commit is contained in:
parent
4ab00f01b2
commit
21af8dd83f
@ -43,7 +43,7 @@ if ($api_keys = $setting->getValue('monitoring_uptimerobot_api_keys')) {
|
|||||||
$monitoring->setTools($tools);
|
$monitoring->setTools($tools);
|
||||||
if (!$monitoring->storeUptimeRobotStatus()) {
|
if (!$monitoring->storeUptimeRobotStatus()) {
|
||||||
$log->logError($monitoring->getCronError());
|
$log->logError($monitoring->getCronError());
|
||||||
$monitoring->endCronjob($cron_name, 'E0017', 1, false);
|
$monitoring->endCronjob($cron_name, 'E0017', 1, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user