Hello.
I have built a dashboard which reads CSV file. Now I want the code to get stopped automatically daily at 9:15 AM and restart at 9:30 AM (so that in these 15 minutes, the CSV file gets updated).
How to achieve the same ? Please help
Hello.
I have built a dashboard which reads CSV file. Now I want the code to get stopped automatically daily at 9:15 AM and restart at 9:30 AM (so that in these 15 minutes, the CSV file gets updated).
How to achieve the same ? Please help
Look up how to use stuff like Windows Task Scheduler to run a python script at certain times (and close existing ones).
Else, you could consider to use the dcc.Interval component to trigger a function that loads in your most recent data every interval.