fix bug
This commit is contained in:
@@ -14,6 +14,8 @@ func Boot() {
|
||||
os.MkdirAll("./markdata/", 0755)
|
||||
}
|
||||
|
||||
UpdateTask()
|
||||
|
||||
scheduler := cron.New()
|
||||
// 每天运行3次来更新数据
|
||||
scheduler.AddFunc("0 18 * * *", func() {
|
||||
|
||||
Reference in New Issue
Block a user