mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +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:
parent
c8e8c27925
commit
a46a36ee41
4 changed files with 77 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue