Skip to content

feat: add schedule list-matching-times command #1030

@chaptersix

Description

@chaptersix

Summary

The Temporal API exposes a ListScheduleMatchingTimes RPC that returns the timestamps a schedule would fire within a given time range. The CLI does not currently have a command for this operation.

Proposed command

temporal schedule list-matching-times \
  --schedule-id <id> \
  --start-time <timestamp> \
  --end-time <timestamp>

This would call ListScheduleMatchingTimes and print the returned timestamps (one per line in text mode, array in JSON mode).

API reference

The RPC is defined in temporalio/api:

The request takes namespace, schedule_id, start_time, and end_time. The response is a repeated list of google.protobuf.Timestamp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions