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