Streamlit automatically run according to crontab

I have deployed to Streamlit Cloud.
I have to visit the Streamlit link every day for my features to work. Is there a way that without going to the Streamlit link, my apps will run at my scheduled time?

What “features” are you talking about? If you have some scheduled process you need to run, it might be more appropriate to schedule that as a task somewhere else entirely. If you are wanting to update some function’s cache via a schedule, you schedule something via a Selenium script on some other system you control that opens your app for you.

https://mathcatsand-examples.streamlit.app/run_by_script

1 Like

The idea is quite similar to what I mean, but I’m having a problem with the login. Streamlit must login with SSO Google Account

I don’t know of an easy way around that…

I had the same issue. You can use cron-job.org to schedule cron jobs and automate execution on streamlit cloud.