> For the complete documentation index, see [llms.txt](https://docs.rootcause.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rootcause.ai/more-details/applications/application-modules/oninterval.md).

# On interval

> Tick the reactive tier every N seconds so a live dashboard re-reads its connector without polling.

Ticks the reactive tier every `everyS` seconds.

The only reactive-only module: it exists so a live dashboard can re-read a connector on a timer without a durable run behind every tick. Between 30 seconds and a day; for anything that should survive the page being closed, use OnSchedule.

## At a glance

|                          |                        |
| ------------------------ | ---------------------- |
| Module type              | `OnInterval`           |
| Category                 | Events                 |
| Default tier             | `reactive`             |
| Runs on                  | `reactive`             |
| Starts a flow            | yes                    |
| Holds a body             | no                     |
| Keeps state between runs | no                     |
| Available in             | every application type |

## Parameters

### `everyS`

`number` · required · defaults to `300`

Seconds between ticks, from 30 to a day.

## Inputs

*None.*

## Outputs

| Port    | Kind               | Connects to                        | Description                                |
| ------- | ------------------ | ---------------------------------- | ------------------------------------------ |
| `event` | `event`            | `event`, `json`                    | The event envelope: `{kind, at, payload}`. |
| `tick`  | `scalar<datetime>` | `scalar`, `json`, `text`, `signal` | The time of this tick.                     |

***

[← All application modules](/more-details/applications/application-modules.md)
