From cbf0fa74ac8ff4b4224e307b8d023bbd154a402a Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 15 Feb 2026 12:34:26 -0600 Subject: [PATCH] add insight worker cron jobs to dev config --- config/dev.exs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/dev.exs b/config/dev.exs index f07c363c..b4fb15af 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -85,7 +85,13 @@ config :towerops, Oban, # Compute Preseem baselines and fleet profiles nightly at 2:30 AM {"30 2 * * *", Towerops.Workers.PreseemBaselineWorker}, # Sync Gaiia data every 15 minutes - {"*/15 * * * *", Towerops.Workers.GaiiaSyncWorker} + {"*/15 * * * *", Towerops.Workers.GaiiaSyncWorker}, + # Device health insights nightly at 3:30 AM + {"30 3 * * *", Towerops.Workers.DeviceHealthInsightWorker}, + # System insights (agent offline detection) every 5 minutes + {"*/5 * * * *", Towerops.Workers.SystemInsightWorker}, + # Gaiia reconciliation insights nightly at 4:30 AM + {"30 4 * * *", Towerops.Workers.GaiiaInsightWorker} ]}, # Automatically delete completed jobs after 60 seconds {Oban.Plugins.Pruner, max_age: 60},