You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature has been implemented in netresearch/go-cron, a maintained fork of this library.
Implementation: Step range validation now ensures step size is less than range size. For example:
// Now returns error (step >= range size)
_, err := cron.ParseStandard("*/60 * * * *")
// Error: step (60) must be less than range size (60)
// Valid step ranges still work
_, err := cron.ParseStandard("*/15 * * * *") // Every 15 minutes - OK
Activity
feat!: validate step size against range in cron expressions
docs: add comprehensive migration guide from robfig/cron
docs: add comprehensive migration guide from robfig/cron
CybotTM commentedon Dec 4, 2025
Solution available in maintained fork
This feature has been implemented in netresearch/go-cron, a maintained fork of this library.
Implementation: Step range validation now ensures step size is less than range size. For example:
How to migrate:
The API is 100% backward compatible. See the migration guide for details.
feat(parser): add LenientSteps option to accept oversized steps
feat(parser): add LenientSteps option to accept oversized steps (netr…