Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix call to cron job, clear cache after running.
James Colecc234b594d5e
diff --git a/Dockerfile b/Dockerfileindex db4338d1fe..15dcc12043 100644--- a/Dockerfile+++ b/Dockerfile@@ -9,6 +9,9 @@ ENV FIREFLY_PATH /var/www/firefly-iii/ENV CURL_VERSION 7.60.0ENV OPENSSL_VERSION 1.1.1-pre6+LABEL version="1.0" maintainer="[email protected]"++# install packagesRUN apt-get update -y && \apt-get install -y --no-install-recommends libcurl4-openssl-dev \@@ -64,8 +67,8 @@ COPY ./.deploy/docker/firefly-iii.conf /etc/supervisor/conf.d/firefly-iii.confCOPY ./.deploy/docker/cronjob.conf /etc/supervisor/conf.d/cronjob.conf# test crons added via crontab-RUN echo "0 3 * * * /usr/local/bin/php /var/www/firefly-iii/artisan firefly:cron >> /dev/stdout 2>&1" | crontab --+RUN echo "0 3 * * * /usr/local/bin/php /var/www/firefly-iii/artisan firefly:cron" | crontab -+#RUN (crontab -l ; echo "*/1 * * * * free >> /var/www/firefly-iii/public/cron.html") 2>&1 | crontab -# Install PHP exentions.RUN docker-php-ext-install -j$(nproc) gd intl tidy zip bcmath pdo_mysql bz2 pdo_pgsql@@ -75,6 +78,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local# Generate locales supported by Firefly IIIRUN echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\n\n" > /etc/locale.gen && locale-gen+# copy Apache config to correct spot.COPY ./.deploy/docker/apache2.conf /etc/apache2/apache2.confdiff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.phpindex 5fd9d001b3..4ee18fddfd 100644--- a/app/Jobs/CreateRecurringTransactions.php+++ b/app/Jobs/CreateRecurringTransactions.php@@ -119,6 +119,9 @@ class CreateRecurringTransactions implements ShouldQueue}Log::debug('Done with handle()');++ // clear cache:+ app('preferences')->mark();}/**