From b1866fed6874bbbb98c0ced73cd8e04909b66569 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 30 Jan 2023 23:44:31 +0100 Subject: [PATCH] app/Console/Kernel.php: we can prune settings model twice per day instead of every 2 hours. --- app/Console/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 0a580be..5145a34 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -29,7 +29,7 @@ class Kernel extends ConsoleKernel { $schedule->command('model:prune', [ '--model' => [ \App\Models\Setting::class ] ]) ->description("Prune expired settings") - ->everyTwoHours(); + ->twiceDaily(2, 8); } /**