reugn / go-quartz

Minimalist and zero-dependency scheduling library for Go
https://pkg.go.dev/github.com/reugn/go-quartz/quartz
MIT License
1.8k stars 85 forks source link

Some cron-expression will fail to be parsed. #114

Closed joint-song closed 8 months ago

joint-song commented 8 months ago

Cron expression like 04 28 7-23/4 * * ? cannot be parsed. Java-Quartz works fine, which conforms to the same with crontab guru.

reugn commented 8 months ago

PR #115 resolved the issue with the given example and other compound field cases in the cron expression. Please let me know if you encounter any other cron expression parsing errors.