Skip to content

Commit d100970

Browse files
author
奇淼(piexlmax
authored
Merge pull request #493 from qinmin328/master
定时任务配置问题
2 parents 8f1885f + 1dff8eb commit d100970

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ excel:
120120

121121
# timer task db clear table
122122
Timer:
123-
spec: "@daily" # 定时任务详细配置参考 https://pkg.go.dev/github.com/robfig/cron?utm_source=godoc
123+
start: true
124+
spec: "@daily" # 定时任务详细配置参考 https://pkg.go.dev/github.com/robfig/cron/v3
124125
detail: [
125126
# tableName: 需要清理的表名
126127
# compareField: 需要比较时间的字段

0 commit comments

Comments
 (0)