Static content not loading when run as a Crontab

Hi All,

When I run my Streamlit Application streamlit run app.py from the Terminal. Static files load as expected.

But when I run as a crontab, the application runs as expected. But static files will not load.

I’m sure it’s something very simple, but can’t work out what I need to change.

Has anyone else experienced this at all ?

I’m using ubuntu 22.04

Thanks in advance.