Skip to content

Commit

Permalink
fix: cron
Browse files Browse the repository at this point in the history
  • Loading branch information
fesiong committed Sep 5, 2024
1 parent 0a152bb commit 36ad2bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crond/crond.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
var crontab *cron.Cron

func Crond() {
return
crontab = cron.New(cron.WithSeconds())
//每天执行
crontab.AddFunc("@daily", dailyTask)
Expand Down

0 comments on commit 36ad2bd

Please sign in to comment.