Merge pull request 'add complete command fix caching app:statistik:generate' (#7) from holzi1005-patch-4 into main

Reviewed-on: #7
Reviewed-by: emanuel.holzmann <emanuel.holzmann@noreply.localhost>
This commit is contained in:
emanuel.holzmann 2024-11-27 22:31:49 +01:00
commit 6c5b381d8b

View file

@ -43,7 +43,7 @@ RUN mkdir /etc/service/cron \
&& chmod -R +x /etc/service/cron
RUN echo "# Docker Cron Jobs" > /var/crontab \
&& echo "*/10 * * * * php /var/www/html/bin/console app:stats" >> /var/crontab \
&& echo "*/10 * * * * php /var/www/html/bin/console app:statistik:generate" >> /var/crontab \
&& echo "" >> /var/crontab \
&& chown nobody:nobody /var/crontab