Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
14982f9
1
Parent(s):
f6eee05
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=3600000)
|
167 |
scheduler2.start()
|
168 |
|
169 |
scheduler2 = BackgroundScheduler()
|
170 |
+
scheduler2.add_job(func=backup_db, trigger="interval", seconds=3633000)
|
171 |
scheduler2.start()
|
172 |
|
173 |
scheduler3 = BackgroundScheduler()
|
174 |
+
scheduler3.add_job(func=backup_db_csv, trigger="interval", seconds=3666000)
|
175 |
scheduler3.start()
|
176 |
|
177 |
demo.launch()
|