dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Add a list of datetimes to `ScheduleSpec` #323

Open dhiaayachi opened 2 months ago

dhiaayachi commented 2 months ago

Been requested by a few users, and I think is on internal roadmap. Opening this issue for people to follow.

https://api-docs.temporal.io/#temporal.api.schedule.v1.ScheduleSpec

dhiaayachi commented 1 month ago

Thanks for reporting this feature request!

The temporal schedule command in the Temporal CLI provides a way to manage Schedules and create recurring Workflows.

The API you linked:

https://api-docs.temporal.io/#temporal.api.schedule.v1.ScheduleSpec

is related to the Schedule Spec, which is a more advanced way of creating recurring Workflows. However, it is not yet supported in the Temporal CLI.

You can use the Temporal CLI with the schedule command to create, delete, describe, list, pause, unpause, trigger, and update your schedules.

For your specific use case, you could use a workaround and create a Workflow that would start a new Workflow at the desired intervals. You could use the Continue-As-New feature in the Workflow to start the new Workflow Execution and maintain the state of the original Workflow.