diff --git a/11.0/apache/Dockerfile b/11.0/apache/Dockerfile index 47d6d37d..9a33b28a 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 f336ac4c..32e4849a 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 72cdbb31..91e489ee 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 7e45d565..6835f707 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 1d9bf3ac..57722d80 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 \