andrewrreed HF staff commited on
Commit
3f7c9ec
1 Parent(s): d2d4cbf

update daily restart time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=9, minute=14)
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
  ###################