fix: make sure approved invites are not deleted daily
even though people would have time to use approved invites (24 hrs at least), it would be better to delete them when they expire instead. Signed-off-by: Miguel Nogueira <me@nogueira.codes>
This commit is contained in:
@@ -36,5 +36,10 @@ Schedule::command('votes:evaluate')->daily();
|
||||
Schedule::job(new ProcessDueSuspensions())->daily();
|
||||
Schedule::job(new ProcessExpiredAbsences())->daily();
|
||||
|
||||
Schedule::job(new InviteLifecycleCleanup())->daily();
|
||||
Schedule::job(new ExpiredInviteCleanup())->daily();
|
||||
// Schedule::job(new InviteLifecycleCleanup())->cron("0 */12 * * *");
|
||||
// Schedule::job(new ExpiredInviteCleanup())->daily();
|
||||
|
||||
// debug
|
||||
|
||||
Schedule::job(new InviteLifecycleCleanup())->everyFiveMinutes();
|
||||
Schedule::job(new ExpiredInviteCleanup())->everyMinute();
|
||||
|
Reference in New Issue
Block a user