Skip to content

Firefly III: a personal finances manager

Update cron

James Cole63fa6aa6c080
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 85e870bd24..be5a881b9d 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -54,7 +54,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule): void
{
$schedule->call(
- function () {
+ static function () {
Log::error(
'Firefly III no longer users the Laravel scheduler to do cron jobs! Please read the instructions at https://firefly-iii.readthedocs.io/en/latest/'
);
@@ -70,6 +70,6 @@ class Kernel extends ConsoleKernel
echo '------------';
echo "\n";
}
- )->everyMinute();
+ )->daily();
}
}