cron-expression: Wrong nextRunDate for * rules

Thanks for library. But it gives wrong result for * rules (0 0 1 */3 * should run 1,4,7,10 month, in fact it runs on 3,6,9,12).

Please see this discussion for more info.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15

Commits related to this issue

Most upvoted comments

@leeoniya I just pushed a big update for a bunch of validation fixes, so this is next on the radar.

2.x has been released over at https://github.com/dragonmantank/cron-expression with the latest fixes (more info available at http://ctankersley.com/2017/10/12/cron-expression-update/).

If you are using this package with Laravel (as I’m assuming most of you are in this issue chain), I’ll be working with them to get this updated in their next release.