# Schedule

Canonical page: https://www.adaptabletools.com/docs/reference/schedule

When a scheduled alert or export runs.

`IsOneOff: true` runs once at `RunAt` (an ISO date-time). `IsOneOff: false` repeats on `CronExpression`, a 5-field cron (minute, hour, day of month, month, day of week). Weekdays in that cron are 0–6 with Sunday as 0; `1-5` is Monday to Friday.

```ts title="TypeScript"
export interface Schedule 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [CronExpression](https://www.adaptabletools.com/docs/reference/schedule.md#cronexpression) | `string` | Standard 5-field cron (minute hour day-of-month month day-of-week); e.g. weekdays at 09:30 → `30 9 * * 1-5` |
| [IsOneOff](https://www.adaptabletools.com/docs/reference/schedule.md#isoneoff) | `boolean` | `true` runs once, at `RunAt`. `false` repeats on `CronExpression`. |
| [RunAt](https://www.adaptabletools.com/docs/reference/schedule.md#runat) | `string` | ISO datetime for a one-off run (local time); set when IsOneOff is true |

## Property Details

### CronExpression

Standard 5-field cron (minute hour day-of-month month day-of-week); e.g. weekdays at 09:30 → `30 9 * * 1-5`

```ts title="TypeScript"
CronExpression?: string;
```

###### Property Value

`string`

### IsOneOff

`true` runs once, at `RunAt`. `false` repeats on `CronExpression`.

```ts title="TypeScript"
IsOneOff: boolean;
```

###### Property Value

`boolean`

### RunAt

ISO datetime for a one-off run (local time); set when IsOneOff is true

```ts title="TypeScript"
RunAt?: string;
```

###### Property Value

`string`
