temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Support last day of month as a recurring schedule option

Open nnoto opened this issue 9 months ago • 0 comments

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 avatar Apr 29 '24 22:04 nnoto