pull/265/head
wangchuxiao 2 years ago
parent f6c6d58045
commit edeb228315

@ -20,6 +20,7 @@ func StartCronTask() {
fmt.Println("config", config.Config.Mongo.ChatRecordsClearTime)
_, err := c.AddFunc(config.Config.Mongo.ChatRecordsClearTime, func() {
operationID := getCronTaskOperationID()
fmt.Println("start del msgs")
log.NewInfo(operationID, "start", utils.GetSelfFuncName())
userIDList, err := im_mysql_model.SelectAllUserID()
if err == nil {

Loading…
Cancel
Save