From 433da921bb4f9331363e96314e05b1f9e62ee59f Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 20 Aug 2018 17:29:39 +0200 Subject: [PATCH] Simplify cronjob call. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 06c3345ca7..69f8c2f9df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ COPY ./.deploy/docker/firefly-iii.conf /etc/supervisor/conf.d/firefly-iii.conf COPY ./.deploy/docker/cronjob.conf /etc/supervisor/conf.d/cronjob.conf # test crons added via crontab -RUN echo "0 3 * * * cd /var/www/firefly-iii && php artisan firefly:cron >> /dev/stdout 2>&1" | crontab - +RUN echo "0 3 * * * /usr/local/bin/php /var/www/firefly-iii/artisan firefly:cron >> /dev/stdout 2>&1" | crontab - # Install PHP exentions. RUN docker-php-ext-install -j$(nproc) gd intl tidy zip bcmath pdo_mysql bz2 pdo_pgsql