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

Monthly interval schedule results in a flow run every 30 days #16371

Open
bkkkk opened this issue Dec 13, 2024 · 0 comments
Open

Monthly interval schedule results in a flow run every 30 days #16371

bkkkk opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bkkkk
Copy link

bkkkk commented Dec 13, 2024

Bug summary

When setting a new Interval schedule for a deployment, you can provide an interval of P1M with a given anchor date. I would expect runs to be scheduled 1 month apart from the anchor date. However in the UI this is actually presented as "Every 30 days" and flows are scheduled at 30 day intervals from the anchor date.

For example with an anchor date of 2024-01-01 10:00, I would expect the next run to be on 2024-02-01 10:00, 2024-03-01 10:00, and so on.

Instead it's more like 2024-01-31 10:00, 2024-02-30 10:00, and so on.

Version info

Version:             3.1.0
API version:         0.8.4
Python version:      3.11.11
Git commit:          a83ba39b
Built:               Thu, Oct 31, 2024 12:43 PM
OS/Arch:             darwin/arm64
Profile:             local
Server type:         server
Pydantic version:    2.10.2
Integrations:
  prefect-slack:     0.3.0
  prefect-aws:       0.5.2

Additional context

No response

@bkkkk bkkkk added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant