LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
LangGraph SDK
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Server
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
LangGraph SDK
ClientAuthReactLoggingReact UiServer
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraph-sdkindexCron
Interface●Since v0.0

Cron

Copy
interface Cron

Properties

property
assistant_id: string

The ID of the assistant.

property
created_at: string

The time the assistant was created.

property
cron_id: string

The ID of the cron

property
enabled: boolean

Whether the cron is enabled

property
end_time: Optional<string>

The end date to stop running the cron.

property
metadata: Record<string, unknown>

The assistant metadata.

property
next_run_date: Optional<string>

The next run date of the cron

property
on_run_completed: "delete" | "keep"

What to do with the thread after the run completes. Only applicable for stateless crons.

property
payload: Record<string, unknown>

The run payload to use for creating new run.

property
schedule: string

The schedule to run, cron format. Schedules are interpreted in UTC.

property
thread_id: Optional<string>

The ID of the thread

property
updated_at: string

The last time the assistant was updated.

property
user_id: Optional<string>

The user ID of the cron

View source on GitHub