delay daily aggregation job by 10 minutes
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-01-16 16:07:35 +11:00
parent 9dc94bd405
commit 7c76825813
2 changed files with 7 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ func main() {
startsAt4 := time.Now().Add(cronAggregateFrequency)
if cronAggregateFrequency == time.Hour*24 {
now := time.Now()
startsAt4 = time.Date(now.Year(), now.Month(), now.Day()+1, 0, 0, 0, 0, now.Location())
startsAt4 = time.Date(now.Year(), now.Month(), now.Day()+1, 0, 10, 0, 0, now.Location())
}
job4, err := c.NewJob(
gocron.DurationJob(cronAggregateFrequency),