How to update schedule NextActionTimes?
I referred to the code at documentation-samples-go/schedule/update/main_dacx.go at add-go-schedule-sample · temporalio/documentation-samples-go · GitHub and wrote the following program. After executing this modification, I noticed that the ‘Upcoming Runs’ on the UI didn’t change as expected. Could you please help me identify what could be wrong with my approach? I appreciate your assistance."
testExpression := "39 9 * * * *"
updateSchedule := func(input client.ScheduleUpdateInput) (*client.ScheduleUpdate, error) {
input.Spec.CronExpressions = []string{testExpression}
return &client.ScheduleUpdate {
Schedule: input.Description.Schedule,
}
}