pub struct Schedule {Show 18 fields
pub id: String,
pub kind: String,
pub status: String,
pub next_scheduled_date: Option<String>,
pub scheduled_date: Option<String>,
pub recurrence: Option<ScheduleRecurrence>,
pub metadata: Option<HashMap<String, Value>>,
pub notes: Option<String>,
pub created_by: Option<String>,
pub created_at: String,
pub updated_at: String,
pub cancelled_at: Option<String>,
pub allow_concurrency: bool,
pub retry_on_failure: bool,
pub max_retries: i64,
pub webhook_uuid: Option<String>,
pub user_uuid: Option<String>,
pub consecutive_failures: Option<i64>,
}Expand description
Server-side schedule record. Returned by every read or mutation endpoint.
Fields§
§id: StringServer-issued schedule UUID.
kind: StringKind of the underlying job: "scrape" | "screenshot" | "crawler".
status: StringLifecycle status: "ACTIVE" | "PAUSED" | "CANCELLED".
next_scheduled_date: Option<String>ISO8601 datetime of the next planned fire (recurring schedules).
scheduled_date: Option<String>ISO8601 datetime of the one-shot fire (one-shot schedules).
recurrence: Option<ScheduleRecurrence>Recurrence cadence for recurring schedules.
metadata: Option<HashMap<String, Value>>Free-form server-side metadata bag.
notes: Option<String>Free-form notes attached at create / update time.
created_by: Option<String>User UUID that authored the schedule.
created_at: StringISO8601 datetime of creation.
updated_at: StringISO8601 datetime of the last update.
cancelled_at: Option<String>ISO8601 datetime of cancellation (set when status == "CANCELLED").
allow_concurrency: boolWhether overlapping fires are permitted.
retry_on_failure: boolWhether failed fires are retried.
max_retries: i64Per-fire retry cap when retry_on_failure is set.
webhook_uuid: Option<String>UUID of the webhook receiving each fire’s result.
user_uuid: Option<String>UUID of the owning user.
consecutive_failures: Option<i64>Consecutive failure counter (auto-cancels after a server-defined cap).