Disable cron config

This commit is contained in:
Debian 2019-09-06 08:59:11 +00:00
parent cb6cae5ff8
commit 2a2104c5fc

View file

@ -1,10 +1,10 @@
FROM owncloud/server:10.1
RUN apt-get update && \
apt-get install -q -y cron && \
apt-get clean
RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab
CMD cron && apache2-foreground
# RUN apt-get update && \
# apt-get install -q -y cron && \
# apt-get clean
#
# RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab
#
# CMD cron && apache2-foreground