Unverified Commit 8db861d6 authored by Tilo Spannagel's avatar Tilo Spannagel
Browse files

Use cron.sh for the cron container

parent 71380e0a
......@@ -31,20 +31,7 @@ services:
restart: always
volumes:
- nextcloud:/var/www/html
user: www-data
entrypoint: |
bash -c 'bash -s <<EOF
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/config/config.php ]; do
sleep 1
done
while true; do
php -f /var/www/html/cron.php
sleep 15m
done
EOF'
entrypoint: /cron.sh
depends_on:
- db
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment