Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -994,8 +994,8 @@ users_watch = users_collection_ref.on_snapshot(on_snapshot)
|
|
| 994 |
|
| 995 |
# Set up the scheduler to update watch list every 24 hours
|
| 996 |
scheduler = BackgroundScheduler()
|
| 997 |
-
scheduler.add_job(update_watch_list, 'interval', hours=24)
|
| 998 |
-
scheduler.start()
|
| 999 |
|
| 1000 |
# # Startup event to initialize the watch list
|
| 1001 |
# @app.on_event("startup")
|
|
|
|
| 994 |
|
| 995 |
# Set up the scheduler to update watch list every 24 hours
|
| 996 |
scheduler = BackgroundScheduler()
|
| 997 |
+
# scheduler.add_job(update_watch_list, 'interval', hours=24)
|
| 998 |
+
# scheduler.start()
|
| 999 |
|
| 1000 |
# # Startup event to initialize the watch list
|
| 1001 |
# @app.on_event("startup")
|