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:
parent
6bd977cb3b
commit
185d10886e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue