pg_cron
Job scheduler for PostgreSQL
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_cron | 1.6.7 | TIME | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 1070 | pg_cron | No | Yes | Yes | Yes | No | No | pg_catalog |
| Related | pgagent pg_task pg_dbms_job pg_dispatch pg_later pg_jobmon pg_durable pg_background pg_when cron_utils |
|---|---|
| Depended By | documentdb pg_dispatch pglock pgmb timeseries vectorize |
require cron.database_name
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PGDG | 1.6.7 | 1817161514 | pg_cron | - |
| RPM | PGDG | 1.6.7 | 1817161514 | pg_cron_$v | - |
| DEB | PGDG | 1.6.7 | 1817161514 | postgresql-$v-cron | - |
Install
You can install pg_cron directly. First, make sure the PGDG repository is added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Preload:
Create Extension:
Usage
beware that cron.database has to be set before adding to shared_preload_libraries
Crontab format:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)