From f6c6d5804566e245aa954548d260dd204a335f38 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 10 Aug 2022 15:21:59 +0800 Subject: [PATCH] fix delete --- internal/cron_task/cron_task.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cron_task/cron_task.go b/internal/cron_task/cron_task.go index 03f1145b0..625ab539c 100644 --- a/internal/cron_task/cron_task.go +++ b/internal/cron_task/cron_task.go @@ -20,6 +20,7 @@ func StartCronTask() { fmt.Println("config", config.Config.Mongo.ChatRecordsClearTime) _, err := c.AddFunc(config.Config.Mongo.ChatRecordsClearTime, func() { operationID := getCronTaskOperationID() + log.NewInfo(operationID, "start", utils.GetSelfFuncName()) userIDList, err := im_mysql_model.SelectAllUserID() if err == nil { log.NewDebug(operationID, utils.GetSelfFuncName(), "userIDList: ", userIDList)