paperless_to_openwebui.py aktualisiert

This commit is contained in:
2026-06-25 16:04:44 +02:00
parent f80324a6f6
commit 49b2a4bc21
+1 -1
View File
@@ -978,10 +978,10 @@ if __name__ == "__main__":
print(f"Container started, task will run daily at {RUN_AT}", flush=True)
while True:
try:
main()
wait_seconds = calc_wait_time(RUN_AT)
print(f"Next run in {wait_seconds / 3600:.2f} hours.", flush=True)
time.sleep(wait_seconds)
main()
except KeyboardInterrupt:
print("Container stopped manually", flush=True)
sys.exit(0)