ScheduleClient
Index
Methods
delete
Delete the schedule.
https://docs.apify.com/api/v2#/reference/schedules/schedule-object/delete-schedule
Returns None
get
Return information about the schedule.
https://docs.apify.com/api/v2#/reference/schedules/schedule-object/get-schedule
Returns dict | None
get_log
Return log for the given schedule.
https://docs.apify.com/api/v2#/reference/schedules/schedule-log/get-schedule-log
Returns list | None
update
Update the schedule with specified fields.
https://docs.apify.com/api/v2#/reference/schedules/schedule-object/update-schedule
Parameters
optionalkeyword-onlycron_expression: str | None = None
The cron expression used by this schedule.
optionalkeyword-onlyis_enabled: bool | None = None
True if the schedule should be enabled.
optionalkeyword-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.
optionalkeyword-onlyname: str | None = None
The name of the schedule to create.
optionalkeyword-onlyactions: list[dict] | None = None
Actors or tasks that should be run on this schedule. See the API documentation for exact structure.
optionalkeyword-onlydescription: str | None = None
Description of this schedule.
optionalkeyword-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).
optionalkeyword-onlytitle: str | None = None
A human-friendly equivalent of the name.
Returns dict
Sub-client for manipulating a single schedule.