Added PREVIEW cronjob to crontabs

This commit is contained in:
2023-08-17 20:39:26 +02:00
parent 1d6720c5c2
commit 659b8283e8
2 changed files with 23 additions and 3 deletions
+3
View File
@@ -8,3 +8,6 @@ RUN usermod -u $UID -o www-data
RUN apt update \
&& apt -y install libmagickcore-6.q16-6-extra ffmpeg imagemagick ghostscript \
&& apt clean
# Add custom cron job for previews
RUN echo '*/15 * * * * php /var/www/html/occ preview:pre-generate' >> /var/spool/cron/crontabs/www-data