app/Console/Kernel.php: we can prune settings model twice per day instead of every 2 hours.
This commit is contained in:
parent
df142f5fe9
commit
b1866fed68
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue