mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Update cron
This commit is contained in:
@@ -54,7 +54,7 @@ class Kernel extends ConsoleKernel
|
|||||||
protected function schedule(Schedule $schedule): void
|
protected function schedule(Schedule $schedule): void
|
||||||
{
|
{
|
||||||
$schedule->call(
|
$schedule->call(
|
||||||
function () {
|
static function () {
|
||||||
Log::error(
|
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/'
|
'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 '------------';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
}
|
}
|
||||||
)->everyMinute();
|
)->daily();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user