/plushcap/analysis/supabase/supabase-postgres-as-a-cron-server

Postgres as a CRON Server

What's this blog post about?

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.

Company
Supabase

Date published
March 5, 2021

Author(s)
Paul Copplestone

Word count
1182

Language
English

Hacker News points
4


By Matt Makai. 2021-2024.