From 87f0e9018009dc7d2b3ada319328c292dddcfde8 Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU <91457812+JoshuaMicallefYBSU@users.noreply.github.com> Date: Mon, 19 Aug 2024 08:31:51 +1000 Subject: [PATCH] Yet Another Update --- app/Console/Kernel.php | 4 ++-- ...rdTrainingUpdates.php => DiscordTrainingWeeklyUpdates.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/Jobs/{DiscordTrainingUpdates.php => DiscordTrainingWeeklyUpdates.php} (99%) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 97f0f2a0..d0d92ba8 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -7,7 +7,7 @@ use App\Jobs\ProcessSessionReminders; use App\Jobs\ProcessSoloCertExpiryWarnings; use App\Jobs\ProcessShanwickController; -use App\Jobs\DiscordTrainingUpdates; +use App\Jobs\DiscordTrainingWeeklyUpdates; use App\Models\Roster\RosterMember; use App\Notifications\Network\OneWeekInactivityReminder; use App\Notifications\Network\TwoWeekInactivityReminder; @@ -106,7 +106,7 @@ protected function schedule(Schedule $schedule) $schedule->job(new ProcessSessionReminders())->daily(); // Check Training Threads Status (Once per week) - $schedule->job(new DiscordTrainingUpdates())->weeklyOn(7, '22:28'); + $schedule->job(new DiscordTrainingWeeklyUpdates())->weeklyOn(7, '22:35'); // Discord role updating //$schedule->job(new UpdateDiscordUserRoles)->twiceDaily(6, 18); diff --git a/app/Jobs/DiscordTrainingUpdates.php b/app/Jobs/DiscordTrainingWeeklyUpdates.php similarity index 99% rename from app/Jobs/DiscordTrainingUpdates.php rename to app/Jobs/DiscordTrainingWeeklyUpdates.php index 74cba573..5b395cf6 100644 --- a/app/Jobs/DiscordTrainingUpdates.php +++ b/app/Jobs/DiscordTrainingWeeklyUpdates.php @@ -17,7 +17,7 @@ use App\Models\Training\Instructing\Links\StudentStatusLabelLink; use Carbon\Carbon; -class DiscordTrainingUpdates implements ShouldQueue +class DiscordTrainingWeeklyUpdates implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;