Skip to content
caliper ui pro docs

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.

Pro

Scheduled jobs

  • Next Running89%
  • Next Succeeded100%
  • Next Succeeded95%
  • Not scheduledSucceeded100%

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

terminal
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
PropTypeDefaultDescription
jobs *readonly ScheduledJob[]—
nownumber—Fix the clock (ms), e.g. in tests.
onRunNow((jobId: string) => void | Promise<void>)—
onTogglePause((jobId: string, paused: boolean) => void)—
classNamestring—

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.md

The index of every part is at /llms.txt.

More in Developer tools