> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hotglue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedules

> hotglue CLI commands for flow job schedules

Manage a flow's job schedule for a tenant.

# Schedules Get

### Description

Fetches the current schedule for a tenant and flow.

### Sample

```shell theme={null}
hotglue schedules get --tenant tenant123 --flow d2dzyCFnS --json
```

### Parameters

| Option       | Default | Description                 |
| ------------ | ------- | --------------------------- |
| `--tenant`   |         | Tenant ID                   |
| `--flow`     |         | Flow ID                     |
| `--env` `-e` |         | Environment ID              |
| `--job-type` |         | Job type: `read` or `write` |
| `--json`     |         | Output as JSON              |

# Schedules Put

### Description

Creates or replaces a schedule for a tenant and flow. Defaults `state` to `ENABLED`.

### Sample

```shell theme={null}
hotglue schedules put --tenant tenant123 --flow d2dzyCFnS --schedule-expression 'cron(0 5 * * *)'
```

### Parameters

| Option                      | Default   | Description                                                          |
| --------------------------- | --------- | -------------------------------------------------------------------- |
| `--tenant`                  |           | Tenant ID                                                            |
| `--flow`                    |           | Flow ID                                                              |
| `--schedule-expression`     |           | Cron expression, e.g. `cron(0 5 * * *)`                              |
| `--env` `-e`                |           | Environment ID                                                       |
| `--job-type`                |           | Job type: `read` or `write`                                          |
| `--state`                   | `ENABLED` | Schedule state: `ENABLED` or `DISABLED`                              |
| `--schedule-jitter-minutes` |           | Jitter in minutes (1–720). Only allowed when `--tenant` is `default` |

# Schedules Disable

### Description

Disables the current schedule for a tenant and flow.

### Sample

```shell theme={null}
hotglue schedules disable --tenant tenant123 --flow d2dzyCFnS
```

### Parameters

| Option       | Default | Description                 |
| ------------ | ------- | --------------------------- |
| `--tenant`   |         | Tenant ID                   |
| `--flow`     |         | Flow ID                     |
| `--env` `-e` |         | Environment ID              |
| `--job-type` |         | Job type: `read` or `write` |
