added initial run

This commit is contained in:
Nicholas St. Germain 2018-12-03 14:28:15 -06:00
parent 15a757d2e6
commit 1148f986bf

View file

@ -52,6 +52,9 @@ if __name__ == "__main__":
if server.request_total_counts:
schedule.every(server.request_total_run_seconds).seconds.do(threaded, OMBI.get_total_requests)
# Run all on startup
schedule.run_all()
while True:
schedule.run_pending()
sleep(1)