Skip to content

Commit

Permalink
add schedule horizon:snapshot & queue:prun-batches
Browse files Browse the repository at this point in the history
  • Loading branch information
lao9s committed Jun 28, 2023
1 parent fb85700 commit 2b441a3
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 @@ -17,6 +17,9 @@ protected function schedule(Schedule $schedule): void
$schedule->command('mixpost:import-account-audience')->everyThreeHours();
$schedule->command('mixpost:process-metrics')->everyThreeHours();
$schedule->command('mixpost:delete-old-data')->daily();

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

/**
Expand Down

0 comments on commit 2b441a3

Please sign in to comment.