Fixed having duplicate cron run-parts jobs for root and nginx

This commit is contained in:
William Miceli
2019-05-18 23:46:40 -04:00
parent c974b975cb
commit 450185aaba

View File

@@ -21,7 +21,7 @@ RUN apk add --no-cache \
php7-simplexml \
php7-xml \
php7-zip \
&& (crontab -l; echo "* * * * * cd /var/www;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -u nginx -
&& (crontab -u nginx -l; echo "* * * * * cd /var/www;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -u nginx -
# Install Grav Into The Root Web Directory
RUN mkdir -p /var/www \