This commit is contained in:
JonatanRek 2019-10-10 13:02:44 +02:00
parent b420ded943
commit 92f1ccf9bd

View File

@ -68,7 +68,7 @@ class AutomationManager{
if (time() > $value && $automation['executed'] == 0){
$run = true;
} else if (time() < $value && $automation['executed'] = 1) { //recovery realowing of automation
} else if (time() < $value && $automation['executed'] == 1) { //recovery realowing of automation
$restart = true;
}
@ -115,6 +115,7 @@ class AutomationManager{
$subscribers = NotificationManager::getSubscription();
$i = 0;
foreach ($subscribers as $key => $subscriber) {
$logManager->write("[NOTIFICATION] SENDING NOTIFICATION TO" . $subscriber['id'] . " was executed" . $i);
$title = 'Automatization '.$automation['name']." was just executed";