Skip to content

Commit

Permalink
add Kernel command horizon:snapshot & queue:prune-batches
Browse files Browse the repository at this point in the history
  • Loading branch information
lao9s committed Jun 27, 2023
1 parent 3e9e0a3 commit 67170de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule): void
{
\Inovector\Mixpost\Schedule::register($schedule);

$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->command('queue:prune-batches')->daily();
}

/**
Expand Down

0 comments on commit 67170de

Please sign in to comment.