mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
Make run maintenance mode every two hours
This commit is contained in:
parent
0987644fda
commit
32798fc77f
1 changed files with 1 additions and 1 deletions
|
|
@ -26,6 +26,6 @@ def enable_maintenance_mode():
|
|||
logger.debug("Maintenance mode disabled")
|
||||
send_message("Maintenance mode disabled")
|
||||
|
||||
scheduler.add_job(enable_maintenance_mode, 'cron', hour=1)
|
||||
scheduler.add_job(enable_maintenance_mode, 'cron', hour='*/2')
|
||||
|
||||
scheduler.start()
|
||||
Loading…
Reference in a new issue