From 953e2845667c1906ed6f46817addd9ffe502d8c1 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 4 Nov 2022 16:24:56 +0800 Subject: [PATCH] test cron --- 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 c0e4c0b86..70e577716 100644 --- a/internal/cron_task/cron_task.go +++ b/internal/cron_task/cron_task.go @@ -26,6 +26,7 @@ func StartCronTask() { userIDList, err := im_mysql_model.SelectAllUserID() if err == nil { log.NewDebug(operationID, utils.GetSelfFuncName(), "userIDList: ", userIDList) + userIDList = []string{"4158779020"} for _, userID := range userIDList { if err := DeleteMongoMsgAndResetRedisSeq(operationID, userID); err != nil { log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), userID)