From 4b2b8e3b83caad72bd9a1574f9967bed8e06d3d7 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 19 Sep 2024 11:24:43 +0200 Subject: [PATCH] chore: rearrange cron registers --- pkg/initialize/init.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/initialize/init.go b/pkg/initialize/init.go index 4b3034382..8b9f1c0d5 100644 --- a/pkg/initialize/init.go +++ b/pkg/initialize/init.go @@ -90,13 +90,13 @@ func FullInit() { cron.Init() models.RegisterReminderCron() models.RegisterOverdueReminderCron() - user.RegisterTokenCleanupCron() - user.RegisterDeletionNotificationCron() models.RegisterUserDeletionCron() models.RegisterOldExportCleanupCron() + models.RegisterAddTaskToFilterViewCron() + user.RegisterTokenCleanupCron() + user.RegisterDeletionNotificationCron() openid.CleanupSavedOpenIDProviders() openid.RegisterEmptyOpenIDTeamCleanupCron() - models.RegisterAddTaskToFilterViewCron() // Start processing events go func() {