About pg_timetable
pg_timetable is an advanced job scheduler for PostgreSQL, published by CYBERTEC. It runs as a standalone program that is completely driven by the database, offering more than traditional cron-style schedulers by letting you define chains of tasks that execute SQL, built-in operations or external commands.
Tasks can take parameters and run in chains, missed chains can be retried automatically after downtime, repetitions are configurable, and enhanced cron-style schedules are supported. Built-in tasks include sending emails and downloading or importing files. Chains and tasks can be enabled or disabled without deleting them, concurrency protection is optional, and logging is stored in the database. Chains can also be defined in YAML files, and OpenTelemetry export is opt-in.
The tool is written in Go and distributed as release packages, Docker images for amd64 and arm64, or source builds. You run it next to your own PostgreSQL server using a role with the required privileges. The repository lists its licence as other, so check the terms. It suits database administrators and developers who want scheduling logic kept inside PostgreSQL.
Key features
- Chains of tasks with parameters
- SQL, built-in, and external command tasks
- Automatic retry of missed chains
- Cron-style scheduling
- YAML-based chain definitions
- Database-driven logging and optional OpenTelemetry
Good fit for
- →Scheduling maintenance SQL inside PostgreSQL
- →Replacing cron jobs with database-managed schedules
- →Running multi-step data import chains
- Tags
- postgresql
- scheduler
- cron
- job-scheduling
- database
- sql
- go
- docker
- automation
pg_timetable: questions and answers
- What is pg_timetable used for?
- pg_timetable is a standalone, database-driven job scheduler for PostgreSQL that runs chains of SQL, built-in and external tasks with cron-style timing. It is a good fit for scheduling maintenance SQL inside PostgreSQL, replacing cron jobs with database-managed schedules and running multi-step data import chains.
- Is pg_timetable open source?
- Yes. pg_timetable is open source under a custom licence. Its source code is on GitHub at cybertec-postgresql/pg_timetable and is written mainly in Go.
- Is pg_timetable free?
- Yes. pg_timetable is open source, so the software itself is free to use under the terms of its own licence.
- What are some alternatives to pg_timetable?
- Similar open-source tools in the Database Tools category include Outerbase Studio, CloudBeaver and Pgcli. SaaS products in the same category include AI2sql, Aqua Data Studio and DBCode.
- Is pg_timetable actively maintained?
- Yes. The most recent commit to pg_timetable was on 22 September 2026, and the latest release is v7.1.0, published on 24 August 2026. The project has 1.4k stars on GitHub.
Open-source alternatives to pg_timetable
See all
Outerbase Studio
Database Tools
A lightweight Database GUI in your browser. It supports connecting to Postgres, MySQL, and
AGPL-3.0vs TablePlus★ 6k
CloudBeaver
Database Tools
Cloud Database Manager
Apache-2.0vs DataGrip★ 5.2k
Pgcli
Database Tools
Postgres CLI with autocompletion and syntax highlighting
BSD-3-Clause★ 13k
Goose
Database Tools
A database migration tool. Supports SQL migrations and Go functions.
OSS★ 12k
phpMyAdmin
Database Tools
A web interface for MySQL and MariaDB
GPL-2.0vs Navicat★ 7.9k
pgBackRest
Database Tools
Reliable PostgreSQL Backup & Restore
OSS★ 4.4k
SaaS alternatives to pg_timetable
See all
AI2sql
Database Tools
Turns plain-English requests into SQL for your schema, and fixes or explains existing queries
SaaS
Aqua Data Studio
Database Tools
Cross-database IDE with query, visual analytics and data modeling features
SaaS
DBCode
Database Tools
VS Code extension for browsing and querying databases
SaaS
DesignSQL
Database Tools
Workspace that keeps code, drag-and-drop tables and diagrams of a database schema in sync
SaaS
SQLPro Studio
Database Tools
Database client for macOS, iOS and Windows supporting Postgres, MySQL, SQL Server and Oracle
SaaS
Stackby
Database Tools
Spreadsheet-database hybrid with API connectors and automations
SaaS

