mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-04 13:01:51 +08:00
3206ce4d16
Signed-off-by: szaimen <szaimen@e.mail.de>
10 lines
245 B
Bash
10 lines
245 B
Bash
#!/bin/sh
|
|
set -eux
|
|
|
|
while true; do
|
|
# Check for updates and send notification if yes
|
|
sudo -u www-data php /var/www/docker-aio/php/src/Cron/cron.php
|
|
# Remove dangling images
|
|
sudo -u www-data docker image prune -f
|
|
sleep 1d
|
|
done
|