# CronUpdate

> **Class** in `langgraph_sdk`

📖 [View in docs](https://reference.langchain.com/python/langgraph-sdk/schema/CronUpdate)

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

## Signature

```python
CronUpdate()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    schedule: str,
    timezone: str,
    end_time: datetime,
    input: Input,
    metadata: dict[str, Any],
    config: Config,
    context: Context,
    webhook: str,
    interrupt_before: All | list[str],
    interrupt_after: All | list[str],
    on_run_completed: OnCompletionBehavior,
    enabled: bool,
    stream_mode: StreamMode | list[StreamMode],
    stream_subgraphs: bool,
    stream_resumable: bool,
    durability: Durability,
)
```

| Name | Type |
|------|------|
| `schedule` | `str` |
| `timezone` | `str` |
| `end_time` | `datetime` |
| `input` | `Input` |
| `metadata` | `dict[str, Any]` |
| `config` | `Config` |
| `context` | `Context` |
| `webhook` | `str` |
| `interrupt_before` | `All \| list[str]` |
| `interrupt_after` | `All \| list[str]` |
| `on_run_completed` | `OnCompletionBehavior` |
| `enabled` | `bool` |
| `stream_mode` | `StreamMode \| list[StreamMode]` |
| `stream_subgraphs` | `bool` |
| `stream_resumable` | `bool` |
| `durability` | `Durability` |


## Properties

- `schedule`
- `timezone`
- `end_time`
- `input`
- `metadata`
- `config`
- `context`
- `webhook`
- `interrupt_before`
- `interrupt_after`
- `on_run_completed`
- `enabled`
- `stream_mode`
- `stream_subgraphs`
- `stream_resumable`
- `durability`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/a529b9bede1f1b6ecada4f0cc0e5c4b83526e563/libs/sdk-py/langgraph_sdk/schema.py#L416)