From 74c68d908bf6ac8c69bbdc1cd091ff03bfa5ffaa Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Tue, 30 Jan 2018 13:02:14 +0100 Subject: [PATCH] Add cron config --- 11.0/apache/Dockerfile | 1 + 11.0/fpm/Dockerfile | 1 + 12.0/apache/Dockerfile | 1 + 12.0/fpm/Dockerfile | 1 + Dockerfile.template | 1 + 5 files changed, 5 insertions(+) diff --git a/11.0/apache/Dockerfile b/11.0/apache/Dockerfile index 47d6d37..9a33b28 100644 --- a/11.0/apache/Dockerfile +++ b/11.0/apache/Dockerfile @@ -8,6 +8,7 @@ RUN set -ex; \ bzip2 \ busybox-static \ ; \ + echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \ # install the PHP extensions we need # see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html \ diff --git a/11.0/fpm/Dockerfile b/11.0/fpm/Dockerfile index f336ac4..32e4849 100644 --- a/11.0/fpm/Dockerfile +++ b/11.0/fpm/Dockerfile @@ -8,6 +8,7 @@ RUN set -ex; \ bzip2 \ busybox-static \ ; \ + echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \ # install the PHP extensions we need # see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html \ diff --git a/12.0/apache/Dockerfile b/12.0/apache/Dockerfile index 72cdbb3..91e489e 100644 --- a/12.0/apache/Dockerfile +++ b/12.0/apache/Dockerfile @@ -8,6 +8,7 @@ RUN set -ex; \ bzip2 \ busybox-static \ ; \ + echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \ # install the PHP extensions we need # see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html \ diff --git a/12.0/fpm/Dockerfile b/12.0/fpm/Dockerfile index 7e45d56..6835f70 100644 --- a/12.0/fpm/Dockerfile +++ b/12.0/fpm/Dockerfile @@ -8,6 +8,7 @@ RUN set -ex; \ bzip2 \ busybox-static \ ; \ + echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \ # install the PHP extensions we need # see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html \ diff --git a/Dockerfile.template b/Dockerfile.template index 1d9bf3a..57722d8 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -8,6 +8,7 @@ RUN set -ex; \ bzip2 \ busybox-static \ ; \ + echo '*/15 * * * * www-data php -f /var/www/html/cron.php' > /etc/crontab; \ # install the PHP extensions we need # see https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html \