Change cron schedule from java-sdk

Hi all,

We are adopting Temporal to manage our workflows. We have cron workflows and we want to be able to change their cron schedule from java-sdk, after they are started. I looked up this issue and could not find how to fix it.

Hi, currently there is not a way to update/change the cron schedule once you set it for a cron exec.

For this use case would look at sample here. You could extend this sample to perform your actions that your cron workflow currently does after the sleep, then manually call continueasnew to start a new execution of this workflow type that would again sleep, perform actions, and so on.