From 94a0918529a9448d2c37ad63e54bbf79f9314184 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Sun, 10 Aug 2025 11:10:18 +0100 Subject: [PATCH] fix: enable invite lifecycle and expired invite cleanup jobs Signed-off-by: Miguel Nogueira --- routes/console.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/routes/console.php b/routes/console.php index 41e56a4..41a2bf5 100644 --- a/routes/console.php +++ b/routes/console.php @@ -36,10 +36,6 @@ Schedule::command('votes:evaluate')->daily(); Schedule::job(new ProcessDueSuspensions())->daily(); Schedule::job(new ProcessExpiredAbsences())->daily(); -// Schedule::job(new InviteLifecycleCleanup())->cron("0 */12 * * *"); -// 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();