We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor bug. Schedule with non-existent day like "* * * 31 FEB *" executes immediately.
package main import ( "fmt" "log" "github.com/go-co-op/gocron/v2" ) func main() { c := make(chan struct{}) s, err := gocron.NewScheduler() if err != nil { log.Fatal(err) } if _, err := s.NewJob(gocron.CronJob("* * * 31 FEB *", true), gocron.NewTask(func() { fmt.Println("started") c <- struct{}{} })); err != nil { log.Fatal(err) } s.Start() <-c }
Never to execute.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Minor bug. Schedule with non-existent day like "* * * 31 FEB *" executes immediately.
To Reproduce
Expected behavior
Never to execute.
The text was updated successfully, but these errors were encountered: