- Crontab now gets added to `/etc/cron.d` - Base crontab now runs as the `laradock` user This update resolves #459.
@@ -79,7 +79,7 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
#####################################
USER root
-COPY ./crontab /var/spool/cron/crontabs
+COPY ./crontab /etc/cron.d
# xDebug:
@@ -0,0 +1 @@
+* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1
@@ -1 +0,0 @@
-* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1