EVERY_YEAR Cronexpression is invalid
tmarklstorfer opened this issue · 3 comments
tmarklstorfer commented
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
This commit
94ae242
introduced an invalid cronexpression for the EVERY_YEAR
cron. Can you elaborate why the change was introduced? Running the current expression in https://crontab.guru/#0_0_1_0_* shows that a 0 for month is indeed invalid
Minimum reproduction code
https://github.com/nestjs/schedule
Steps to reproduce
No response
Expected behavior
the EVERY_YEAR
cronexpression should be 0 0 1 1 *
Package version
8.1.3
NestJS version
No response
Node.js version
No response
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
No response
kamilmysliwiec commented
tmarklstorfer commented
Thanks for the quick response. I understand now that node-cron is actually not following the normal cron specs in this case kelektiv/node-cron#475