Skip to content

Commit

Permalink
✏️ 修复摸鱼 cron
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Nov 23, 2021
1 parent ac1c6bc commit c83d01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_moyu/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func init() { // 插件主体
// 定时任务每天10点执行一次
c := cron.New()
_, err := c.AddFunc("0 0 10 * * ?", func() { sendNotice() })
_, err := c.AddFunc("0 10 * * *", func() { sendNotice() })
if err != nil {
c.Start()
}
Expand Down

0 comments on commit c83d01e

Please sign in to comment.