Skip to content

EVERY_YEAR Cronexpression is invalid #1159

@tmarklstorfer

Description

@tmarklstorfer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions