From 7b442442b7281c1800bd200dbebc210868b49a4f Mon Sep 17 00:00:00 2001 From: Leufolium Date: Mon, 21 Oct 2024 16:08:28 +0800 Subject: [PATCH] 1 --- app/mix/service/cronservice.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mix/service/cronservice.go b/app/mix/service/cronservice.go index 1f8bbc4b..51a1333e 100644 --- a/app/mix/service/cronservice.go +++ b/app/mix/service/cronservice.go @@ -86,6 +86,7 @@ func (s *CronService) Init(c any) (exec xxl.Executor, err error) { exec.RegTask("clear_expired_btcb", s.ClearExpiredBtcb) exec.RegTask("reload_blocked_from_being_searched_list", s.ReloadBlockedFromBeingSearchedList) exec.RegTask("clear_auto_response_create_times", s.ClearAutoResponseCreateTimes) + exec.RegTask("push_notifications", s.PushNotifications) exec.LogHandler(customLogHandle) //注册任务handler