Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
f6eee05
1
Parent(s):
5c03380
Update app.py
Browse files
app.py
CHANGED
@@ -163,15 +163,15 @@ def backup_db_csv():
|
|
163 |
# #return reviews, total_reviews
|
164 |
|
165 |
scheduler2 = BackgroundScheduler()
|
166 |
-
scheduler2.add_job(func=run_actr, trigger="interval", seconds=
|
167 |
scheduler2.start()
|
168 |
|
169 |
scheduler2 = BackgroundScheduler()
|
170 |
-
scheduler2.add_job(func=backup_db, trigger="interval", seconds=
|
171 |
scheduler2.start()
|
172 |
|
173 |
scheduler3 = BackgroundScheduler()
|
174 |
-
scheduler3.add_job(func=backup_db_csv, trigger="interval", seconds=
|
175 |
scheduler3.start()
|
176 |
|
177 |
demo.launch()
|
|
|
163 |
# #return reviews, total_reviews
|
164 |
|
165 |
scheduler2 = BackgroundScheduler()
|
166 |
+
scheduler2.add_job(func=run_actr, trigger="interval", seconds=3600)
|
167 |
scheduler2.start()
|
168 |
|
169 |
scheduler2 = BackgroundScheduler()
|
170 |
+
scheduler2.add_job(func=backup_db, trigger="interval", seconds=3633)
|
171 |
scheduler2.start()
|
172 |
|
173 |
scheduler3 = BackgroundScheduler()
|
174 |
+
scheduler3.add_job(func=backup_db_csv, trigger="interval", seconds=3666)
|
175 |
scheduler3.start()
|
176 |
|
177 |
demo.launch()
|