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
DevsrealmGuy
DevsrealmGuy2mo ago
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?
DevsrealmGuy
DevsrealmGuy2mo ago
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

Did you find this page helpful?