From f734f93003cf8443b9fcbfeace3b4e93ca472bbe Mon Sep 17 00:00:00 2001 From: JoshuaMicallefYBSU Date: Sun, 1 Dec 2024 19:51:00 +1000 Subject: [PATCH] Updates --- app/Console/Kernel.php | 4 +++- routes/web.php | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 300a4fd6..85ac5077 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -43,7 +43,9 @@ protected function schedule(Schedule $schedule) $schedule->job(new ProcessSessionLogging())->everyMinute(); // Shanwick Controller Roster Update - $schedule->job(new ProcessShanwickControllers())->cron('0 * * * *'); //Updated Hourly + $schedule->call(function () { + Http::get('https://ganderoceanic.ca/roster/update/controller-details'); + })->cron('0 * * * *'); //Updated Hourly //Discord Update $schedule->job(new DiscordAccountCheck())->cron('0 * * * *'); //Updated Hourly diff --git a/routes/web.php b/routes/web.php index d7b60b85..c65c2e0c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -60,6 +60,7 @@ Route::get('/roster/update/controller-details', function () { ProcessShanwickControllers::dispatch(); + return response('ProcessShanwickControllers dispatched successfully'); }); // About