Spaces:
Running
Running
Update leaderboard.py
Browse files- leaderboard.py +1 -1
leaderboard.py
CHANGED
@@ -342,7 +342,7 @@ def create_backup():
|
|
342 |
print(f"Backup created on Nextcloud: {backup_path}")
|
343 |
except Exception as e:
|
344 |
print(f"Error creating backup: {e}")
|
345 |
-
time.sleep(
|
346 |
|
347 |
def start_backup_thread():
|
348 |
backup_thread = threading.Thread(target=create_backup, daemon=True)
|
|
|
342 |
print(f"Backup created on Nextcloud: {backup_path}")
|
343 |
except Exception as e:
|
344 |
print(f"Error creating backup: {e}")
|
345 |
+
time.sleep(43200) # Sleep for 12 HOURS
|
346 |
|
347 |
def start_backup_thread():
|
348 |
backup_thread = threading.Thread(target=create_backup, daemon=True)
|