This commit is contained in:
JonatanRek 2019-10-10 13:02:44 +02:00
parent b420ded943
commit 92f1ccf9bd
1 changed files with 2 additions and 1 deletions

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";