aboutsummaryrefslogtreecommitdiff
path: root/Docker/Dockerfile
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-02 14:21:34 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-02 14:21:34 +0200
commit32dd2e3c33e0cb569b8e50a4cc203a73146e3f29 (patch)
tree546361938ee80f68585966ec7ee3e6211adc9949 /Docker/Dockerfile
parentc48e28baf62ce21529e219311de5d113743cde4e (diff)
Docker better use of crontab (#2326)
Misc. from https://github.com/FreshRSS/FreshRSS/pull/2325 https://github.com/FreshRSS/FreshRSS/issues/2319
Diffstat (limited to 'Docker/Dockerfile')
-rw-r--r--Docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Docker/Dockerfile b/Docker/Dockerfile
index efd77c6a1..798561c93 100644
--- a/Docker/Dockerfile
+++ b/Docker/Dockerfile
@@ -25,8 +25,8 @@ RUN a2dismod -f alias autoindex negotiation status && \
RUN sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/apache2.conf && \
sed -r -i "/^\s*Listen /s/^/#/" /etc/apache2/ports.conf && \
- echo "17,37 * * * * su www-data -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" >> \
- /var/spool/cron/crontabs/root
+ echo "17,47 * * * * su www-data -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" | \
+ crontab -
ENV COPY_SYSLOG_TO_STDERR On
ENV CRON_MIN ''