0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-24 20:34:10 +02:00

Extended templates to make crontab interval dependent on the version

Signed-off-by: Michael Scheiffler <michael@scheiffler.at>
This commit is contained in:
mscheiff 2019-09-30 19:44:55 +02:00 committed by Tilo Spannagel
parent f165752597
commit 7b97c8a9c2
6 changed files with 13 additions and 5 deletions

View file

@ -8,7 +8,7 @@ RUN set -ex; \
; \
\
rm /var/spool/cron/crontabs/root; \
echo '*/15 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
echo '*/%%CRONTAB_INT%% * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
# install the PHP extensions we need
# see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html