This commit is contained in:
wangchuxiao
2023-05-23 14:52:44 +08:00
parent 2039b760b1
commit ba3aa74469
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -10,8 +10,6 @@ import (
"github.com/robfig/cron/v3"
)
const moduleName = "cron"
func StartCronTask() error {
log.ZInfo(context.Background(), "start cron task", "cron config", config.Config.Mongo.ChatRecordsClearTime)
fmt.Println("cron task start, config", config.Config.Mongo.ChatRecordsClearTime)