This commit is contained in:
parent
a5f6c2d931
commit
7b442442b7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue