ensure we dont collect hourly snapshot too soon after startup
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-01-14 10:27:24 +11:00
parent b297b8293c
commit 5130d37632
4 changed files with 66 additions and 14 deletions

View File

@@ -9,8 +9,9 @@ import (
// CronTask stores runtime information to be used by tasks
type CronTask struct {
Logger *slog.Logger
Database db.Database
Settings *settings.Settings
VcCreds *vcenter.VcenterLogin
Logger *slog.Logger
Database db.Database
Settings *settings.Settings
VcCreds *vcenter.VcenterLogin
FirstHourlySnapshotCheck bool
}