Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
5b4b923
1
Parent(s):
1bbaa54
Update app.py
Browse files
app.py
CHANGED
@@ -212,9 +212,9 @@ def backup_db_csv():
|
|
212 |
# demo.load(load_data,None, [reviews, total_reviews])
|
213 |
# #return reviews, total_reviews
|
214 |
|
215 |
-
scheduler1 = BackgroundScheduler()
|
216 |
-
scheduler1.add_job(func=run_actr, trigger="interval", seconds=
|
217 |
-
scheduler1.start()
|
218 |
|
219 |
scheduler2 = BackgroundScheduler()
|
220 |
scheduler2.add_job(func=backup_db, trigger="interval", seconds=3633)
|
|
|
212 |
# demo.load(load_data,None, [reviews, total_reviews])
|
213 |
# #return reviews, total_reviews
|
214 |
|
215 |
+
#scheduler1 = BackgroundScheduler()
|
216 |
+
#scheduler1.add_job(func=run_actr, trigger="interval", seconds=3600)
|
217 |
+
#scheduler1.start()
|
218 |
|
219 |
scheduler2 = BackgroundScheduler()
|
220 |
scheduler2.add_job(func=backup_db, trigger="interval", seconds=3633)
|