How to run a scheduler, one process per app?

I’m looking to run a scheduler or some kind that will pull data from a source every now and then and display it but how to do this since I only want it to process once per the whole app and not user sessions.

Related, it would nice if we could get terminal access or run tmux ?

Hi @rlf037 -

The scheduler piece isn’t currently possible, though it’s probably possible to mock up something using a combination of the ttl parameter with caching and streamlit-autorefresh.

It’s unlikely that in the near-term we’ll be providing this access, as we’re focusing on making Streamlit Cloud the fastest way to get started with Streamlit, not making a generalized container service.

Best,
Randy

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.