mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-24 20:34:10 +02:00
Use cron.sh in the example dockerfiles
This commit is contained in:
parent
2e3645f853
commit
022575326b
9 changed files with 13 additions and 24 deletions
|
@ -59,9 +59,8 @@ The required steps for each optional/recommended package that is not already in
|
|||
`apt install LibreOffice` </br>
|
||||
|
||||
#### CRON via supervisor
|
||||
`apt install supervisor cron` </br>
|
||||
`apt install supervisor` </br>
|
||||
`mkdir /var/log/supervisord /var/run/supervisord` </br>
|
||||
`echo "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\""| crontab -` </br>
|
||||
The following Dockerfile commands are also necessary for a sucessfull cron installation: </br>
|
||||
`COPY supervisord.conf /etc/supervisor/supervisord.conf` </br>
|
||||
`CMD ["/usr/bin/supervisord"]` </br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue