add insight worker cron jobs to dev config

This commit is contained in:
Graham McIntire 2026-02-15 12:34:26 -06:00
parent 1d7eff6afd
commit cbf0fa74ac
No known key found for this signature in database

View file

@ -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},