Disable cron
This commit is contained in:
parent
f088b20863
commit
0fe471480a
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,10 +1,10 @@
|
||||||
FROM owncloud/server:10.1
|
FROM owncloud/server:10.1
|
||||||
|
|
||||||
RUN apt-get update && \
|
# RUN apt-get update && \
|
||||||
apt-get install -q -y cron && \
|
# apt-get install -q -y cron && \
|
||||||
apt-get clean
|
# 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
|
# 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
|
# CMD cron && apache2-foreground
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue