Scheduling Edge Functions
The hosted Supabase Platform supports the pg_cron
extension, a simple cron-based job scheduler for PostgreSQL that runs inside the database.
In combination with the pg_net
extension, this allows us to invoke Edge Functions periodically on a set schedule.
Examples#
Invoke an Edge Function every minute#
Make a POST request to a Supabase Edge Function every minute: