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
in old version: github.com/robfig/cron v1.2.0
use expression: p, err := cron.Parse("0 20 14 ? * 5L") occur error: strconv.Atoi: parsing "5L": invalid syntax
p, err := cron.Parse("0 20 14 ? * 5L")
so upgrade new version:github.com/robfig/cron/v3 v3.0.0 use expression: subsParser := cron.NewParser(cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow) sched, err := subsParser.Parse("0 20 14 ? * 5L")
subsParser := cron.NewParser(cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow) sched, err := subsParser.Parse("0 20 14 ? * 5L")
still have errors :failed to parse int from 5L: strconv.Atoi: parsing "5L": invalid syntax
Looking forward to your reply thank you
The text was updated successfully, but these errors were encountered:
I read the source code and found that L is not a standard cron character. Is there any alternative?
Sorry, something went wrong.
you can try using #325
No branches or pull requests
in old version: github.com/robfig/cron v1.2.0
use expression:
p, err := cron.Parse("0 20 14 ? * 5L")
occur error: strconv.Atoi: parsing "5L": invalid syntax
so upgrade new version:github.com/robfig/cron/v3 v3.0.0
use expression:
subsParser := cron.NewParser(cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow) sched, err := subsParser.Parse("0 20 14 ? * 5L")
still have errors :failed to parse int from 5L: strconv.Atoi: parsing "5L": invalid syntax
Looking forward to your reply thank you
The text was updated successfully, but these errors were encountered: