mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix the notification spam
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
7ba10559fd
commit
141887c635
1 changed files with 4 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ while true; do
|
||||||
# Allow to continue directly if e.g. the mastercontainer was updated. Otherwise wait for the next execution
|
# Allow to continue directly if e.g. the mastercontainer was updated. Otherwise wait for the next execution
|
||||||
if [ "$LOCK_FILE_PRESENT" = 0 ]; then
|
if [ "$LOCK_FILE_PRESENT" = 0 ]; then
|
||||||
while [ "$(date +%H:%M)" != "$BACKUP_TIME" ]; do
|
while [ "$(date +%H:%M)" != "$BACKUP_TIME" ]; do
|
||||||
sleep 1
|
sleep 30
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -93,4 +93,7 @@ while true; do
|
||||||
|
|
||||||
# Remove dangling images
|
# Remove dangling images
|
||||||
sudo -u www-data docker image prune -f
|
sudo -u www-data docker image prune -f
|
||||||
|
|
||||||
|
# Wait 60s so that the whole loop will not be executed again
|
||||||
|
sleep 60
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue