citusdata/pg_cron
Run periodic jobs in PostgreSQL observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 93
- Release rhythm 46
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 3650
- days_rel: 363
- days_push: 43
- n_releases_24m: 2
Adoption not part of the score
3872 stars · 260 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pg_cron is a cron-based job scheduler for PostgreSQL that runs inside the database as an extension. It uses a background worker to track and execute periodic SQL jobs defined in the cron.job table using standard cron syntax.
Use cases
- schedule periodic SQL jobs in PostgreSQL
- run database maintenance tasks nightly
- clean up old rows on a schedule
- run recurring queries every few minutes
- schedule jobs with second-level intervals
- replace external cron for database tasks
When to choose
- you need periodic jobs that live inside PostgreSQL
- you want cron syntax for scheduling SQL commands
- you want to avoid external schedulers for database tasks
When to avoid
- you need scheduling outside the database
- you use PostgreSQL versions older than 10
- you need distributed job orchestration across services
Facets
library · maturity stable
scheduling database workflow-automation databases developer-tools self-hosted postgresql-extension cron background-jobs sql automation linux macos docker
1 source
- readme: https://github.com/citusdata/pg_cron · fetched 2026-08-28 · 98758e0ca116
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| citusdata/pg_cron | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="citusdata/pg_cron")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem