From 9ece2ad2903a3ac91b19564fcbf7048a5de6743d Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Fri, 22 Aug 2025 14:33:00 +0200 Subject: [PATCH] nextcloud-cron korrigiert. --- nextcloud/docker-compose.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index 837e992..084a576 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -24,10 +24,12 @@ services: image: nextcloud:latest container_name: nextcloud-cron restart: always - entrypoint: ["/bin/sh", "-c"] - command: > - echo "*/5 * * * * www-data pgrep -f 'cron.php' > /dev/null || php -f /var/www/html/cron.php" - > /etc/crontabs/root && crond -f -l 2 + entrypoint: /cron.sh + command: + - -c + - | + echo "*/5 * * * * www-data pgrep -f 'cron.php' > /dev/null || php -f /var/www/html/cron.php" > /etc/crontabs/root + crond -f -l 2 volumes: - /mnt/nextcloud/nextcloud/html:/var/www/html - /mnt/nextcloud/nextcloud/apps:/var/www/html/custom_apps