From 588f264854a5898f633114032398608985e4371c Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 15 Jul 2025 06:27:33 -0500 Subject: [PATCH] refactor(printers): addedin daily check for printers used to only be on a restart --- server/services/ocp/ocpService.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/services/ocp/ocpService.ts b/server/services/ocp/ocpService.ts index 37c192f..fafa6f5 100644 --- a/server/services/ocp/ocpService.ts +++ b/server/services/ocp/ocpService.ts @@ -97,4 +97,8 @@ deleteLabels(); setInterval(() => { deleteLabels(); }, 60 * 60 * 24 * 1000); + +setInterval(() => { + updatePrinters(); +}, 1000 * 60 * 60 * 24); export default app;