# Change cron schedule from java-sdk

**URL:** <https://community.temporal.io/t/change-cron-schedule-from-java-sdk/6772>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [December 22, 2022, 10:29am UTC](https://community.temporal.io/t/change-cron-schedule-from-java-sdk/6772 "2022-12-22T10:29:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malali](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/malali/32/3119_2.png) [@malali](https://community.temporal.io/u/malali)\
**Post date:** [December 22, 2022, 10:29am UTC](https://community.temporal.io/t/change-cron-schedule-from-java-sdk/6772/1 "2022-12-22T10:29:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [December 22, 2022, 5:14pm UTC](https://community.temporal.io/t/change-cron-schedule-from-java-sdk/6772/2 "2022-12-22T17:14:40Z")

</div>

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](https://github.com/temporalio/samples-java/tree/main/src/main/java/io/temporal/samples/updatabletimer). 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.
