Help: How to schedule a database function or Edge Function to run at a specific time?
I'm wondering if it's possible to schedule a delayed task that executes a specific database function or Edge Function at a given time.
Any suggestions, tips, or examples would be much appreciated. Thanks!
3 Replies
Use supabase cron job, you can find an example guide here: https://supabase.com/modules/cron
cron job seems support recurring tasks rather than one time delayed tasks?
Cron job can be used for recurring tasks, you can also make it run one time, design the edge function in a way where once the task is done, it removes the cron job