New RunLLM response generated:
>>>*# Question*
Hi folks! I have a question regarding flyte scheduling: is it possible to have dynamic schedule for a workflow, where the cron expression is provided by an external service on a weekly basis? this could be an extension similar to
airflow custom timetable, where scheduler can make a rpc call at the time of workflow execution. Thanks!
# Answer
Flyte does not natively support dynamic schedules where the cron expression is provided by an external service on a weekly basis. However, you can achieve a similar effect by updating the launch plan with a new cron expression dynamically using FlyteRemote.
According to
this discussion, you can update the launch plan version with the new cron expression to dynamically adjust the schedule. This involves deactivating the old launch plan, creating a new one with the updated schedule, and activating the new launch plan.
Would you like more details on how to implement this?
Sources:
-
this discussion
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1722176846.785119 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.