I’m launching python files by crontab and it is working fine and creating a dash website, but when the same python file launches again, I get the old data on the website. so, please help me to shut down the server automatically after one hour so that next launching python file will update the data on website.
I have the following code to run server
if name == ‘main’:
app.run_server(debug = True,host = ‘172.16.14.38’, port=8052).