Need help with scheduled tasks
I have a running app that requires data from external sources, I already have a script in python that grabs this data, formats it, and throws it in my supabase postgresql db, I am not all that familiar with CRON jobs and wanted some help regarding designing a fluid system for this that is cost effective.
Solution:Jump to solution
if it can work in cloudflare workers for python that would be a great option
https://developers.cloudflare.com/workers/languages/python/
it has cron triggers
https://developers.cloudflare.com/workers/configuration/cron-triggers/...
Cloudflare Docs
Write Cloudflare Workers in Python · Cloudflare Workers docs
Write Workers in 100% Python
Cloudflare Docs
Cron Triggers · Cloudflare Workers docs
Enable your Worker to be executed on a schedule.
3 Replies
for context: I built an app for tcg players/collectors and wanted to have a script running to update my database with recent tournament winners, the deck they played etc.
would love to hear any tips or ideas for my situation
Solution
if it can work in cloudflare workers for python that would be a great option
https://developers.cloudflare.com/workers/languages/python/
it has cron triggers
https://developers.cloudflare.com/workers/configuration/cron-triggers/
Cloudflare Docs
Write Cloudflare Workers in Python · Cloudflare Workers docs
Write Workers in 100% Python
Cloudflare Docs
Cron Triggers · Cloudflare Workers docs
Enable your Worker to be executed on a schedule.
thanks appreciate it