Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

Postgres as a CRON Server

Blog post from Supabase

Post Details
Company
Date Published
Author
Paul Copplestone
Word Count
1,182
Language
English
Hacker News Points
4
Summary

A user recently asked if they can trigger a webhook periodically using Supabase. While Functions have not yet been released, it is possible to do so with Postgres through the use of cron jobs and extensions like pg_cron and pgsql-http. Cron jobs are scripts that run at fixed times or intervals, and can be set up on remote servers or in the cloud for internet-related tasks. By enabling these extensions within Postgres, users can schedule periodic tasks such as calling external endpoints every day. This method provides a flexible and efficient way to manage webhook triggers without relying solely on traditional cron server methods.