LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdkschemaCronUpdate
    Class●Since v0.3

    CronUpdate

    Payload for updating a cron job. All fields are optional.

    Copy
    CronUpdate()

    Bases

    TypedDict

    Constructors

    Attributes

    View source on GitHub
    constructor
    __init__
    NameType
    schedulestr
    timezonestr
    end_timedatetime
    inputInput
    metadatadict[str, Any]
    configConfig
    contextContext
    webhookstr
    interrupt_beforeAll | list[str]
    interrupt_afterAll | list[str]
    on_run_completedOnCompletionBehavior
    enabledbool
    stream_modeStreamMode | list[StreamMode]
    stream_subgraphsbool
    stream_resumablebool
    durabilityDurability
    attribute
    schedule: str

    The cron schedule to execute this job on.

    attribute
    timezone: str

    IANA timezone for the cron schedule (e.g. 'America/New_York').

    attribute
    end_time: datetime

    The end date to stop running the cron.

    attribute
    input: Input

    The input to the graph.

    attribute
    metadata: dict[str, Any]

    Metadata to assign to the cron job runs.

    attribute
    config: Config

    The configuration for the assistant.

    attribute
    context: Context

    Static context added to the assistant.

    attribute
    webhook: str

    Webhook to call after LangGraph API call is done.

    attribute
    interrupt_before: All | list[str]

    Nodes to interrupt immediately before they get executed.

    attribute
    interrupt_after: All | list[str]

    Nodes to interrupt immediately after they get executed.

    attribute
    on_run_completed: OnCompletionBehavior

    What to do with the thread after the run completes.

    attribute
    enabled: bool

    Enable or disable the cron job.

    attribute
    stream_mode: StreamMode | list[StreamMode]

    The stream mode(s) to use.

    attribute
    stream_subgraphs: bool

    Whether to stream output from subgraphs.

    attribute
    stream_resumable: bool

    Whether to persist the stream chunks in order to resume the stream later.

    attribute
    durability: Durability

    Durability level for the run. Must be one of 'sync', 'async', or 'exit'.