mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-13 03:45:26 +01:00
commit
46c43a8b82
@ -30,7 +30,7 @@ RUN sed -i -e "s/;daemonize\s*=\s*yes/daemonize = no/g" /etc/php5/fpm/php-fpm.co
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
ADD crontab /etc/cron.d/artisan-schedule
|
||||
COPY crontab /etc/cron.d/artisan-schedule
|
||||
RUN chmod 0644 /etc/cron.d/artisan-schedule
|
||||
RUN touch /var/log/cron.log
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
* * * * * php /var/www/html/artisan schedule:run 1>> /dev/null 2>&1
|
||||
#minute hour mday month wday who command
|
||||
* * * * * www-data php /var/www/html/artisan schedule:run 1>> /dev/null 2>&1
|
||||
|
@ -25,4 +25,4 @@ command=/usr/sbin/php5-fpm -c /etc/php5/fpm
|
||||
command=/usr/sbin/nginx
|
||||
|
||||
[program:cron]
|
||||
command=/usr/sbin/cron
|
||||
command=/usr/sbin/cron -f
|
||||
|
Loading…
x
Reference in New Issue
Block a user