Spaces:
Sleeping
Sleeping
Rowan Martnishn
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -245,8 +245,8 @@ def run_daily():
|
|
245 |
process_data()
|
246 |
print("Data refreshed at:", datetime.datetime.now())
|
247 |
|
248 |
-
|
249 |
-
schedule.every(10).seconds.do(run_daily)
|
250 |
|
251 |
def run_schedule():
|
252 |
while True:
|
|
|
245 |
process_data()
|
246 |
print("Data refreshed at:", datetime.datetime.now())
|
247 |
|
248 |
+
schedule.every().day.at("00:00").do(run_daily)
|
249 |
+
#schedule.every(10).seconds.do(run_daily)
|
250 |
|
251 |
def run_schedule():
|
252 |
while True:
|