summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
diff options
context:
space:
mode:
authorTilo Spannagel <development@tilosp.de>2019-10-01 19:15:01 +0200
committerGitHub <noreply@github.com>2019-10-01 19:15:01 +0200
commita3ba284c78e575d21808d63edc229ca5a23a7554 (patch)
treef003e0c878304a013f383d86c11f612be8f0df86 /Dockerfile-debian.template
parent1985c8235d0fdbd2a13cdb46f7220404612280f7 (diff)
parent7b97c8a9c20aa220741a3ed7cd82776a40994b23 (diff)
Merge pull request #879 from mike2307/crontab_int_5min
Extended templates to make crontab interval dependent on the version
Diffstat (limited to 'Dockerfile-debian.template')
-rw-r--r--Dockerfile-debian.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template
index 3e1beb0b..642c4fdc 100644
--- a/Dockerfile-debian.template
+++ b/Dockerfile-debian.template
@@ -12,7 +12,7 @@ RUN set -ex; \
rm -rf /var/lib/apt/lists/*; \
\
mkdir -p /var/spool/cron/crontabs; \
- 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