package scheduler import "time" // Job represents a scheduled scan job with its runtime function. type Job struct { Name string CronExpr string ScanCommand string NotifyTelegram bool Enabled bool RunFunc func(ctx interface{}) (int, error) } // JobResult contains the outcome of a scheduled or manually triggered scan job. type JobResult struct { JobName string FindingCount int Duration time.Duration Error error }