Changed cron.php frequency from 15m to 5m

master
Meliurwen 4 years ago
parent 9bc7427804
commit c8943520f7
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      Dockerfile

@ -8,7 +8,7 @@ RUN apt-get -q update && \
apt-get -qq install \
cron \
nano-tiny && \
echo "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\"" | crontab - && \
echo "*/5 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\"" | crontab - && \
sed -i '2 i\service cron start' /entrypoint.sh && \
apt-get purge -y nano-tiny && \
rm -rf /var/lib/apt/lists/* && \

Loading…
Cancel
Save