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