Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron schedule with / in minutes field is corrupted #33

Open
mariuszch opened this issue Mar 17, 2023 · 0 comments
Open

Cron schedule with / in minutes field is corrupted #33

mariuszch opened this issue Mar 17, 2023 · 0 comments

Comments

@mariuszch
Copy link

Hi, when using schedule as

  - schedule:
      rate: cron(0/2 7-20 ? * * *)
      timezone: "Europe/Amsterdam"

we are receiving schedule only for minute "0" in AWS. Part after / is missing in every 6 expressions generated by local-schedule plugin.

After checking code I think it is caused by local-crontab library, which is turning cron expressions to multiple UTC based expressions. It is removing wildcard from minute field, so in fact there is no way to create cron expression running every X minutes.

Can this be fixed? local-crontab is not maintained for 2 years already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant