LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdk_synccronSyncCronClient
    Class●Since v0.3

    SyncCronClient

    Copy
    SyncCronClient(
        self,
        http_client: SyncHttpClient,
    )

    Constructors

    Attributes

    Methods

    View source on GitHub
    constructor
    __init__
    NameType
    http_clientSyncHttpClient
    attribute
    http: http_client
    method
    create_for_thread

    Create a cron job for a thread.

    method
    create

    Create a cron run.

    method
    delete

    Delete a cron.

    method
    update

    Update a cron job by ID.

    method
    search

    Get a list of cron jobs.

    method
    count

    Count cron jobs matching filters.

    Synchronous client for managing cron jobs in LangGraph.

    This class provides methods to create and manage scheduled tasks (cron jobs) for automated graph executions.

    Example
    client = get_sync_client(url="http://localhost:8123")
    cron_job = client.crons.create_for_thread(thread_id="thread_123", assistant_id="asst_456", schedule="0 * * * *")
    Feature Availability

    The crons client functionality is not supported on all licenses. Please check the relevant license documentation for the most up-to-date details on feature availability.