feat: update migrate rule

This commit is contained in:
engigu
2024-01-13 13:43:30 +08:00
parent 547aa933c5
commit bff6abd57e
5 changed files with 38 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func AddTask(task ScheduledTask) cron.EntryID {
logrus.Error(fmt.Sprintf("添加定时任务失败,原因:%s", err))
} else {
TaskList[taskId] = &task
logrus.Error(fmt.Sprintf("添加定时任务成功,entryID: %d, cron: %s", taskId, task.Schedule))
logrus.Info(fmt.Sprintf("添加定时任务成功,entryID: %d, cron: %s", taskId, task.Schedule))
}
return taskId
}