Added scheduler start

This commit is contained in:
Profitroll 2023-01-09 19:01:07 +02:00
parent cddf1e211a
commit 9261585f5f
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ if __name__ == "__main__":
if configGet("startup", "reports"):
app.send_message(configGet("admin"), locale("startup", "message", locale=configGet("locale")).format(str(pid))) # type: ignore
# if configGet("post", "mode"):
if configGet("post", "mode"):
scheduler.start()
# t = Thread(target=background_task)
# t.start()