# Application Developer Tool: Cron Jobs Monitor

Rows with a job name, cron expression, cadence, a dot strip of recent runs, last and next run times, and a status badge.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/cron-jobs-monitor
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Developer Tools](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/cron-jobs-monitor.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-developer-tools-cron-jobs-monitor
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/application-pro/developer-tools/cron-jobs-monitor`

## About this block

Cron Jobs Monitor is the schedule health surface for the
production worker pool, with times in UTC. Five recurring
jobs render as rows, each carrying the job name, the cron
expression in monospace, a human readable cadence and
queue, a dot strip of the last twelve runs, the last run
timestamp and duration, the next run estimate, and a
status Badge. The usage rollup job is failing: its four
most recent dots are red and it drops an inline banner
explaining that the last runs exited with code 1 after a
warehouse timeout, alongside a View logs affordance. The
paused weekly digest renders muted with a paused next run.

Jobs are one typed const array, and both statusVariant
and runDotClass are Records so status and run outcome map
to a Badge weight and a dot colour without extra
branching. The failing banner and the muted paused row
each read from the status field, so a single value drives
the whole row treatment. The footer notes that overlapping
runs are skipped and recorded and that three consecutive
failures page the owning team.

## When to use

Reach for this block on the jobs or scheduling page, wired
to your queue backend and scoped to one worker pool. Point
the View logs affordance at the run log for the failing
job so an on call engineer can read the exit trace without
leaving the page.

A natural flow around it on an Application Pro page:

**Before**

- [Status and health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)
- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

**After**

- [Log viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- [Workflow automation](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation)

## What you can display

One strong use is the scheduled jobs health board. Other
monitor views:

- **Queue depth.** Add a pending count and oldest job age
  per queue to watch for backlog.
- **Run history.** Expand a job into its recent runs with
  duration and exit code for each.
- **Owner view.** Group jobs by owning team so each squad
  sees only the schedules it is paged for.

> Tip: the inline failing banner is the incident cue; keep
> the exit reason in the row so the on call engineer sees
> why a job broke before opening the logs.

## More in Application Developer Tools

- [Api Console](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/api-console)
- [Build Status List](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/build-status-list)
- [Dependency Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/dependency-audit)
- [Deploy Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/deploy-panel)
- [Diff Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/diff-viewer)
- [Env Vars Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/env-vars-manager)
- [Error Inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/error-inbox)
- [Feature Flags Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/feature-flags-panel)
- [Log Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/log-viewer)
- [Migrations Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/migrations-panel)
- [SDK Quickstart](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sdk-quickstart)
- [Secrets Rotation Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/secrets-rotation-card)
- [SQL Query Editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sql-query-editor)
- [Terminal Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/terminal-panel)
- [Trace Waterfall](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/trace-waterfall)
- [Webhook Logs Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/webhook-logs-table)
