Postgres as a CRON Server
Blog post from Supabase
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.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 1 | 829 | 314 | 97 | +30% |
| Serverless | 1 | 529 | 97 | 40 | +36% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.