diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index cb667589d..8f469c184 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -3,6 +3,7 @@ namespace App\Console; use Bugsnag\BugsnagLaravel\Commands\DeployCommand as BugsnagDeployCommand; +use Carbon\Carbon; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; use Spatie\ScheduleMonitor\Models\MonitoredScheduledTaskLogItem; @@ -75,6 +76,14 @@ protected function schedule(Schedule $schedule) $schedule->command('import:division-members') ->twiceDaily(2, 14) ->graceTimeInMinutes(15); + + // === By Quarter === // + $schedule->command('roster:update', [ + Carbon::now()->subMonths(3), + Carbon::now() + ]) + ->quarterly() + ->doNotMonitor(); } /**