Commit 721e0437 authored by TJ's avatar TJ Committed by Philippe Trépanier

Updated Crontab for Workspace (#538)

- Crontab now gets added to `/etc/cron.d`
- Base crontab now runs as the `laradock` user

This update resolves #459.
parent b569765f
......@@ -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:
......
* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1
* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment