Skip to main content

ScheduleClientAsync

Async sub-client for manipulating a single schedule.

Index

Methods

delete

  • async delete(): None

get

  • async get(): dict | None

get_log

  • async get_log(): list | None

update

  • async update(*, cron_expression, is_enabled, is_exclusive, name, actions, description, timezone, title): dict

  • Parameters

    • keyword-onlycron_expression: str | None = None

      The cron expression used by this schedule

    • keyword-onlyis_enabled: bool | None = None

      True if the schedule should be enabled

    • keyword-onlyis_exclusive: bool | None = None

      When set to true, don't start Actor or Actor task if it's still running from the previous schedule.

    • keyword-onlyname: str | None = None

      The name of the schedule to create.

    • keyword-onlyactions: list[dict] | None = None

      Actors or tasks that should be run on this schedule. See the API documentation for exact structure.

    • keyword-onlydescription: str | None = None

      Description of this schedule

    • keyword-onlytimezone: str | None = None

      Timezone in which your cron expression runs (TZ database name from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)

    • keyword-onlytitle: str | None = None

      A human-friendly equivalent of the name

    Returns dict

    The updated schedule

Page Options