---
title: "Discussion on \"How to Schedule Jobs in PostgreSQL with pg_cron \" | Hashnode"
description: "Discussion on \"How to Schedule Jobs in PostgreSQL with pg_cron \". Every backend system eventually needs something to run on a schedule. Old sessions need deleting, summary tables need rebuilding, materialized views need refreshing, and maintenance tasks need to happ"
url: "https://hashnode.com/posts/how-to-schedule-jobs-in-postgresql-with-pg-cron/6a32f343a137d9657aba1b9e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Schedule Jobs in PostgreSQL with pg\_cron](https://freecodecamp.org/news/how-to-schedule-jobs-in-postgresql-with-pg-cron?utm_source=hashnode&utm_medium=feed)

Every backend system eventually needs something to run on a schedule. Old sessions need deleting, summary tables need rebuilding, materialized views need refreshing, and maintenance tasks need to happ

Jun 17 · 18 min read · freecodecamp.org  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#cronjob](https://hashnode.com/tag/cronjob)
-   [#jobs](https://hashnode.com/tag/jobs)

## Written by

[iyiola](https://hashnode.com/@iyiola)

@iyiola · Nigeria

  
[View profile](https://hashnode.com/@iyiola)

Guide, Source, and Control.

A Backend engineer with deep interest in databases and distributed systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
