diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index cf4cb14f..a8aff551 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -42,7 +42,7 @@ protected function schedule(Schedule $schedule) $schedule->job(new ProcessSessionLogging())->everyMinute(); //Inactivity checks - $schedule->job(new ProcessRosterInactivity())->daily(); + $schedule->job(new ProcessRosterInactivity())->dailyAt('14:05'); //CRONS FOR INACTIVITY EMAILS 2 weeks // $schedule->call(function () { @@ -81,16 +81,6 @@ protected function schedule(Schedule $schedule) // Monthly Statistics Breakdown $schedule->job(new ProcessShanwickController())->monthlyOn(1, '00:00'); - /// Monthly leaderboard wipe - // $schedule->call(function () { - // // Loop through all roster members - // foreach (RosterMember::all() as $rosterMember) { - // // Reset the hours for every member - // $rosterMember->monthly_hours = 0.0; - // $rosterMember->save(); - // } - // }) - //Solo cert expiry warning // $schedule->job(new ProcessSoloCertExpiryWarnings())->daily();