From 33515ac2ada3630bed5f157f1d73a37655662d4c Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Sat, 31 Aug 2024 00:00:42 +1000 Subject: [PATCH] Update Kernel.php --- app/Console/Kernel.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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();