Job runs
Scheduled jobs with each cron schedule said in words and the next run counting down, the last twenty runs as a strip of bars, run now, pause and resume, and every run’s log.
When to use
- Background jobs, ETL and cron in a developer product.
- Admin pages for recurring tasks.
When not to use
- A single long task with progress; use the run timeline.
Installation
pnpm dlx shadcn@latest add @caliper/job-runs
Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
parseCron
0 props
No props of its own; it accepts the native props of its root element.
describeCron
0 props
No props of its own; it accepts the native props of its root element.
nextCronRun
0 props
No props of its own; it accepts the native props of its root element.
JobRuns
5 props
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes img and status semantics, with aria-labelledby, aria-expanded, aria-controls, aria-hidden, aria-label and aria-selected kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/job-runs.mdThe index of every part is at /llms.txt.