Skip to content

Commit

Permalink
fix: Update cron spec
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxuan6 committed Aug 4, 2024
1 parent 255ede7 commit aedb5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func cronStar() {
c.AddFunc("0 */10 * * * *", func() {
run()
})
c.AddFunc("0 0 24 * * * *", func() {
c.AddFunc("0 0 23 * * *", func() {
if _, err := os.Stat(configFile); err != nil {
fmt.Println("file [config.cfg] not exists!")
return
Expand Down

0 comments on commit aedb5f5

Please sign in to comment.