show database state every 3 minutes
This commit is contained in:
parent
cc6e022d4f
commit
567bda270d
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@ core_api_sync()
|
||||||
scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync")
|
scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync")
|
||||||
|
|
||||||
# Schedule show db/tasks
|
# Schedule show db/tasks
|
||||||
scheduler.add_job(func=show_database, trigger="interval", minutes=60, id="show_database")
|
scheduler.add_job(func=show_database, trigger="interval", minutes=3, id="show_database")
|
||||||
scheduler.add_job(func=show_scheduled_tasks, trigger="interval", minutes=60, id="show_scheduled_tasks")
|
scheduler.add_job(func=show_scheduled_tasks, trigger="interval", minutes=3, id="show_scheduled_tasks")
|
||||||
|
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue