Skip to content

Commit

Permalink
set up cron monitor to invalidate expired otps
Browse files Browse the repository at this point in the history
  • Loading branch information
fokosun committed Aug 23, 2023
1 parent 710cbd5 commit d4ab8c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
$schedule->command('otp:clean')
->daily()
->sentryMonitor('invalidate-otps');
}

/**
Expand Down

0 comments on commit d4ab8c2

Please sign in to comment.