I need to create a GitHub Action workflow that will reboot my hosted Streamlit app at a specific time each day and reinstall the requirements

The workflow will be triggered by a cron expression, which is a string that tells GitHub when to run the workflow. The cron expression for this workflow will be 0 10 * * * , which means that the workflow will run at 10:00 AM every day.

Hey @rajatag2102,

Just to clarify, you’re looking to regularly reboot your app that’s hosted on Community Cloud? There isn’t a way to programmatically reboot the app, so I think your best option would be to have a trivial commit to your requirements.txt file that happens at a regularly scheduled interval – as long as your app is receiving traffic (i.e. it hasn’t gone to sleep), that should result in the app reinstalling the requirements.

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