diff --git a/php/muell.php b/php/muell.php index 6c87a36..242c7be 100755 --- a/php/muell.php +++ b/php/muell.php @@ -15,6 +15,7 @@ * kommune: 2601 * strasse: 2146 * pathBot: '~/bin/YMBot' + * tgBotOwner: */ $currentYear = date('Y'); @@ -89,4 +90,6 @@ if ($response !== false) { } } +} else { + shell_exec(sprintf("echo Müllbot konnte keine Daten empfangen | %s -u %d", $config['pathBot'], $config['tgBotOwner'])); }