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.
This commit is contained in:
TJ 2017-01-10 16:34:55 -05:00 committed by Philippe Trépanier
parent b569765f82
commit 721e04370f
3 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -0,0 +1 @@
* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1

View File

@ -1 +0,0 @@
* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1