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

Support last day of month as a recurring schedule option #5811

Open
nnoto opened this issue Apr 29, 2024 · 0 comments
Open

Support last day of month as a recurring schedule option #5811

nnoto opened this issue Apr 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nnoto
Copy link

nnoto commented Apr 29, 2024

Is your feature request related to a problem? Please describe.
Use cases may require that a schedule runs on the last day of the month every month. Because the last day of the month changes month to month, there isn't currently a temporal schedule configuration which supports this.

Describe the solution you'd like
This requested support most likely pertains to calendar specs. In the context of the Temporal Python SDK ScheduleCalendarSpec, a day_of_month from 1-31 may be given. A value of 31 could match the last day of the month regardless of which month the schedule runs on, or some alternative value such as -1.

Describe alternatives you've considered
Assembling a list of calendar specs, one per month, where the last day of each month is explicitly provided. This does not work for a schedule that needs to run indefinitely.

Additional context
https://temporalio.slack.com/?redir=%2Farchives%2FCTT84KXK9%2Fp1710480826848909%3Fname%3DCTT84KXK9%26perma%3D1710480826848909

@nnoto nnoto added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant