# Cron Run History block

> Cron job run history list with capsule duration strips, a fleet summary, filters and CSV export

Cron fleet run history: success rate and trend, run outcome mix, failing jobs and slowest p95 over a row per job with last run, a 10 or 20 run capsule strip of HoverCards and p95. Filter, sort, export. ReUI Frame, Badge, shadcn Item, Select.

- Type: Pro block
- Category: [Status Tracker](https://web.dev.reui.io/blocks/chart/status-tracker.md)
- Page: https://web.dev.reui.io/blocks/chart/status-tracker/chart-34
- MCP: `get_block("chart-34")`
- Built with: Badge, Button, Button Group, Dropdown Menu, Empty, Frame, Hover Card, Item, Select, Separator, Skeleton, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A cron fleet run history where each job row holds a capsule strip of runs with hover detail, a filter, a sort and a CSV export

## Agent notes

- Replace `RAW_JOBS` in data.ts; `buildHistory` expands each 20 character `pattern` into runs, so map your real runs straight into `JOBS`
- `REFERENCE_MS` in data.ts pins now for every relative time and the As of stamp; set it to the current time once data is live
- Rows open nothing; each bar's `HoverCard` shows run detail, and the toolbar's filter, window and sort live in one `ViewState`

## When not to use

- One job's durations on a single larger plot with a run trigger and an export: use [Cron Run Durations](https://web.dev.reui.io/blocks/chart/bar-chart/chart-33.md) (`get_block("chart-33")`)
- A scheduler console where jobs are toggled, filtered and run or paused in bulk: use [Cron Jobs](https://web.dev.reui.io/blocks/solutions/dev-ops/solution-dev-ops-1.md) (`get_block("solution-dev-ops-1")`)

## Third-party libraries

- Motion v12: [API reference](https://motion.dev/docs/react-motion-component), [docs](https://motion.dev/docs/react) (the docs follow the latest Motion, with no React API break since v12)
- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/chart-34
```

## About Status Tracker blocks

### When to use

- A fleet of cron jobs, each row a strip of its last 10 or 20 runs scaled by duration with hover details
- Deploy pipelines and release lanes with per stage meters, promote gates and a version matrix

### When not to use

- One aggregated volume plotted per hour, with no history per row: use the [Bar Chart blocks](https://web.dev.reui.io/blocks/chart/bar-chart.md)
- Summary tiles that pair a value with a mini trend and no row list: use the [Sparkline blocks](https://web.dev.reui.io/blocks/chart/sparkline.md)

### Agent notes

- Rows come from constants in the block folder and `Chart` takes no props, so map your job or deploy records onto the same fields

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
