diff options
author | mscheiff <michael@scheiffler.at> | 2019-09-30 19:44:55 +0200 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2019-10-01 10:54:36 +0200 |
commit | 7b97c8a9c20aa220741a3ed7cd82776a40994b23 (patch) | |
tree | 075cd11029a10c1fc55f13dd36099150409b4dc6 /Dockerfile-alpine.template | |
parent | f1657525976375aa2ea4be5cbb306d29177c4a20 (diff) |
Extended templates to make crontab interval dependent on the version
Signed-off-by: Michael Scheiffler <michael@scheiffler.at>
Diffstat (limited to 'Dockerfile-alpine.template')
-rw-r--r-- | Dockerfile-alpine.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 18e79575..065e5fe9 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -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 |