Skip to content

Open-source status page, incident response and uptime monitoring

fix: periodicity

mxkaske94bc780e86f5
diff --git a/apps/web/src/app/api/checker/cron/_cron.ts b/apps/web/src/app/api/checker/cron/_cron.ts
index f27997bfd..ad7f8cee2 100644
--- a/apps/web/src/app/api/checker/cron/_cron.ts
+++ b/apps/web/src/app/api/checker/cron/_cron.ts
@@ -71,7 +71,7 @@ export const cron = async ({
.from(monitor)
.where(
and(
- eq(monitor.periodicity, "10m"),
+ eq(monitor.periodicity, periodicity),
eq(monitor.active, true),
notInArray(monitor.id, currentMaintenanceMonitors)
)