Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
00:00
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def run_bot():
|
|
130 |
|
131 |
# Function to schedule the bot restart at midnight
|
132 |
def schedule_restart():
|
133 |
-
schedule.every().day.at("
|
134 |
|
135 |
while True:
|
136 |
schedule.run_pending()
|
|
|
130 |
|
131 |
# Function to schedule the bot restart at midnight
|
132 |
def schedule_restart():
|
133 |
+
schedule.every().day.at("00:00").do(restart_bot)
|
134 |
|
135 |
while True:
|
136 |
schedule.run_pending()
|