@squidcloud/client
    Preparing search index...

    Class SchedulerClient

    SchedulerClient provides methods to manage schedulers, including listing, enabling, and disabling scheduled tasks.

    Index

    Methods

    • Disables one or more schedulers by their IDs.

      Parameters

      • schedulerId: string | string[]

        A single scheduler ID or an array of scheduler IDs to disable.

      Returns Promise<void>

      A promise that resolves once the update is complete.

    • Enables one or more schedulers by their IDs.

      Parameters

      • schedulerId: string | string[]

        A single scheduler ID or an array of scheduler IDs to enable.

      Returns Promise<void>

      A promise that resolves once the update is complete.

    • Lists all configured schedulers.

      Returns Promise<SchedulerInfo[]>

      A promise resolving to an array of scheduler metadata.