0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-14 02:25:08 +01:00

Cron needs a blank line at the end of the cronfile

The cron job wouldn't fire as scheduled until I added a blank line to the end.
This commit is contained in:
kendokan 2017-10-24 13:36:04 -07:00 committed by GitHub
parent 6bd977cb3b
commit 185d10886e

View file

@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /var/log/supervisord /var/run/supervisord && \
echo "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\""| crontab -
printf "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\"\n"| crontab -
COPY supervisord.conf /etc/supervisor/supervisord.conf