Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
3f7c9ec
1
Parent(s):
d2d4cbf
update daily restart time
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def restart_space():
|
|
31 |
|
32 |
# restart the space every day at 9am
|
33 |
scheduler = BackgroundScheduler()
|
34 |
-
scheduler.add_job(restart_space, "cron", day_of_week="mon-sun", hour=
|
35 |
scheduler.start()
|
36 |
|
37 |
###################
|
|
|
31 |
|
32 |
# restart the space every day at 9am
|
33 |
scheduler = BackgroundScheduler()
|
34 |
+
scheduler.add_job(restart_space, "cron", day_of_week="mon-sun", hour=7, minute=0)
|
35 |
scheduler.start()
|
36 |
|
37 |
###################
|