Cron jobs, or the ability to call a function

Question:
Hi,

I have some python code that I want to invoke a call (or an API endpoint in my code) or just call a python script every T time?

Replit Profile: https://replit.com/@

I guess that can work.

I need it to run every Friday, and I figured cron would be the easiest way to do it

Maybe make the repl only start on fridays and run its thing once each friday, then set up lots of cron jobs to send a request to it each Friday

GitHub Actions would be more suitable for this