Skip to content

Commit

Permalink
update cron
Browse files Browse the repository at this point in the history
  • Loading branch information
Winspain committed Dec 11, 2023
1 parent 315d6d5 commit d530b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotteryGo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func main() {
c := cron.New()

// 添加定时任务
_, err := c.AddFunc("0 */1 20-23 * 1,3,6", run)
_, err := c.AddFunc("*/1 20-23 * * 1,3,6", run)
if err != nil {
fmt.Println("添加定时任务失败:", err)
return
Expand Down

0 comments on commit d530b1f

Please sign in to comment.