This commit is contained in:
Leufolium 2024-10-21 16:08:28 +08:00
parent a5f6c2d931
commit 7b442442b7
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ func (s *CronService) Init(c any) (exec xxl.Executor, err error) {
exec.RegTask("clear_expired_btcb", s.ClearExpiredBtcb) exec.RegTask("clear_expired_btcb", s.ClearExpiredBtcb)
exec.RegTask("reload_blocked_from_being_searched_list", s.ReloadBlockedFromBeingSearchedList) exec.RegTask("reload_blocked_from_being_searched_list", s.ReloadBlockedFromBeingSearchedList)
exec.RegTask("clear_auto_response_create_times", s.ClearAutoResponseCreateTimes) exec.RegTask("clear_auto_response_create_times", s.ClearAutoResponseCreateTimes)
exec.RegTask("push_notifications", s.PushNotifications)
exec.LogHandler(customLogHandle) exec.LogHandler(customLogHandle)
//注册任务handler //注册任务handler