Status checking

This commit is contained in:
2025-03-01 13:22:38 +08:00
parent fe2e682267
commit 2a5b90b530
6 changed files with 54 additions and 14 deletions

View File

@@ -117,6 +117,7 @@ func main() {
// Configure timed tasks
quartz := cron.New(cron.WithLogger(cron.VerbosePrintfLogger(&log.Logger)))
quartz.AddFunc("@midnight", watchtower.RunDbMaintenance)
quartz.AddFunc("@every 5m", directory.ValidateServices)
quartz.Start()
// Messages