Skip to content

[Bug] schedule update removing cron if not explicitly included #927

@billrich2001

Description

@billrich2001

What are you really trying to do?

Update a schedule.

Describe the bug

The following command results in the removal of the existing cron configuration from the schedule:

temporal schedule update 
--env prod 
--schedule-id "Start Invoice Processing - Daily at 09:00 UTC (01:00 PST / 02:00 PDT)" 
--overlap-policy AllowAll 
--type start-invoice-processing 
--task-queue invoices-queue

Adding the --cron parameter resolves the issue and preserves the schedule configuration:
--cron "0 9 * * *"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions