mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 23:10:08 +00:00
add sendnotifications and update checker cron
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
@@ -213,6 +213,7 @@ RUN set -ex; \
|
||||
openssl \
|
||||
gnupg \
|
||||
dirmngr \
|
||||
git \
|
||||
; \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
SUBJECT="$1"
|
||||
MESSAGE="$2"
|
||||
|
||||
if [ "$(php /var/www/html/occ config:app:get notificaations enabled)" = "no" ]; then
|
||||
if [ "$(php /var/www/html/occ config:app:get notifications enabled)" = "no" ]; then
|
||||
echo "Cannot send notification as notification app is not enabled."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user