diff --git a/src/monitoring/MonitoringService.ts b/src/monitoring/MonitoringService.ts index 83c5a4767..d38117a63 100644 --- a/src/monitoring/MonitoringService.ts +++ b/src/monitoring/MonitoringService.ts @@ -52,7 +52,7 @@ export default class MonitoringService { autoBind(this) const jobName = "dnsMonitoring" - const FIVE_MINUTE_CRON = "5 * * * *" + const FIVE_MINUTE_CRON = "*/5 * * * *" const jobData = { name: "monitoring sites", diff --git a/src/utils/dns-utils.ts b/src/utils/dns-utils.ts index 941899286..b898df137 100644 --- a/src/utils/dns-utils.ts +++ b/src/utils/dns-utils.ts @@ -180,6 +180,7 @@ export default function getDnsCheckerMessage( } export function dnsMonitor(domain: string): ResultAsync { + console.log("dnsMonitor", domain) if (!domain) { return okAsync("Empty domain provided") }