From d3f916d057928a999b8ef4cb30a37e612bd0864b Mon Sep 17 00:00:00 2001 From: Andrei Condurachi Date: Sun, 29 Nov 2020 16:12:10 +0200 Subject: [PATCH] cron update --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 02a9e26..bce7be8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -135,7 +135,7 @@ RUN curl -o grav-admin.zip -SLk https://getgrav.org/download/core/grav-admin/${G RUN cd /var/www/html && bin/gpm -y update # Create cron job for Grav maintenance scripts -RUN (crontab -l; echo "* * * * * cd /var/www/html; /usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab - +RUN (crontab -l; echo "* * * * * cd /var/www/html; /usr/bin/php bin/grav scheduler 1 >> /dev/null 2>&1") | crontab - # Cron requires that each entry in a crontab end in a newline character. If the last entry in a crontab is missing the newline, cron will consider the crontab (at least partially) broken and refuse to install it. RUN (crontab -l; echo "") | crontab -