Files
roxane/routes/console.php
Nebulae ba11ee7120
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 1m21s
feat(Reminder process): add 4 reminder phases for membership (Retzien)
2026-09-06 17:03:14 +02:00

26 lines
879 B
PHP

<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('members:renewal-process --phase=reminder_1')
->yearlyOn(12, 1, '09:00')
->description('1ère relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=reminder_2')
->yearlyOn(12, 15, '09:00')
->description('2ème relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=reminder_3')
->yearlyOn(1, 5, '09:00')
->description('3ème relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=deactivate')
->yearlyOn(1, 28, '09:00')
->description('Désactivation comptes non renouvelés');