June 2024
Intermediate to advanced
456 pages
11h 34m
English
The pg_cron[464] extension is used with PgHero to show Scheduled Jobs. While there was a pg_cron Homebrew package available at publication time, it was connected to the older PostgreSQL 14 version.
For an updated version, compile pg_cron on macOS. Follow the instructions on the README. Compiling from source involves running make and make install. If you encounter problems during compilation, refer to the “Issues”[465] page.
When pg_cron is compiled and configured in PostgreSQL, the PostgreSQL log shows the pg_cron scheduler has started:
| | 2022-12-28 13:31:45.361 CST [84234] LOG: pg_cron scheduler started |
In exercises, you’ll configure pg_cron to use the rideshare_development database. See section Scheduling Jobs Using pg_cron ...
Read now
Unlock full access