Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant