Skip to content

Commit

Permalink
Merge pull request #342 from czqoocavatsim/JoshuaBranch
Browse files Browse the repository at this point in the history
Update Kernel.php
  • Loading branch information
JoshuaMicallefYBSU authored Aug 30, 2024
2 parents 8e8f7d3 + 33515ac commit b5933de
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function schedule(Schedule $schedule)
$schedule->job(new ProcessSessionLogging())->everyMinute();

//Inactivity checks
$schedule->job(new ProcessRosterInactivity())->daily();
$schedule->job(new ProcessRosterInactivity())->dailyAt('14:05');

//CRONS FOR INACTIVITY EMAILS 2 weeks
// $schedule->call(function () {
Expand Down Expand Up @@ -81,16 +81,6 @@ protected function schedule(Schedule $schedule)
// Monthly Statistics Breakdown
$schedule->job(new ProcessShanwickController())->monthlyOn(1, '00:00');

/// Monthly leaderboard wipe
// $schedule->call(function () {
// // Loop through all roster members
// foreach (RosterMember::all() as $rosterMember) {
// // Reset the hours for every member
// $rosterMember->monthly_hours = 0.0;
// $rosterMember->save();
// }
// })

//Solo cert expiry warning
// $schedule->job(new ProcessSoloCertExpiryWarnings())->daily();

Expand Down

0 comments on commit b5933de

Please sign in to comment.