---
title: "Deploy Postgresql with pg_cron"
description: "Railway PostgreSQL template extended with pg_cron"
category: "Other"
url: https://railway.com/deploy/postgresql-with-pgcron
---

# Deploy Postgresql with pg_cron

Railway PostgreSQL template extended with pg_cron

**[Deploy Postgresql with pg_cron on Railway](https://railway.com/template/postgresql-with-pgcron)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/postgresql-with-pgcron/manifest.json

- **Creator:** Leonardo Penczek's Projects
- **Category:** Other
- **Total deploys:** 3

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/engagemeter/postgres-ssl-cron:latest

## Documentation

# Deploy and Host Postgresql with pg_cron on Railway

Railway PostgreSQL template with pg_cron installed.

## About Hosting Postgresql with pg_cron

The pg_cron extension is installed, but you will need to activate for each database with ```a CREATE EXTENSION IF NOT EXISTS "pg_cron"``` statement.

## Common Use Cases

- PostgreSQL database that will include some cron job.

## Dependencies for Postgresql with pg_cron Hosting

- https://github.com/engagemeter/postgres-ssl-cron

### Deployment Dependencies

- None

## Why Deploy Postgresql with pg_cron on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Postgresql with pg_cron on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/postgresql-with-pgcron
