Skip to content

Commit

Permalink
Merge pull request #416 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
ShanwickRoster update
  • Loading branch information
JoshuaMicallefYBSU authored Dec 1, 2024
2 parents 3b22b0b + f734f93 commit 00342f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

Route::get('/roster/update/controller-details', function () {
ProcessShanwickControllers::dispatch();
return response('ProcessShanwickControllers dispatched successfully');
});

// About
Expand Down

0 comments on commit 00342f5

Please sign in to comment.