From 15203323b791fc8ba20e4fedd7462ea5640fff5c Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Mon, 19 Aug 2024 02:52:51 +1000 Subject: [PATCH] Update Kernel.php --- app/Console/Kernel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index fac55927..55f86929 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -7,6 +7,7 @@ use App\Jobs\ProcessSessionReminders; use App\Jobs\ProcessSoloCertExpiryWarnings; use App\Jobs\ProcessShanwickController; +use App\Jobs\DiscordTrainingUpdates; use App\Models\Roster\RosterMember; use App\Notifications\Network\OneWeekInactivityReminder; use App\Notifications\Network\TwoWeekInactivityReminder; @@ -104,6 +105,9 @@ protected function schedule(Schedule $schedule) //Training/OTS session reminders $schedule->job(new ProcessSessionReminders())->daily(); + // Check Training Threads Status (Once per week) + $schedule->job(new DiscordTrainingUpdates())->weeklyOn(7, '17:00'); + // Discord role updating //$schedule->job(new UpdateDiscordUserRoles)->twiceDaily(6, 18); }