diff --git a/renter/price_tracker.go b/renter/price_tracker.go index 0096045..76bc763 100644 --- a/renter/price_tracker.go +++ b/renter/price_tracker.go @@ -40,7 +40,7 @@ type PriceTracker struct { } func (p PriceTracker) LoadInitialTasks(cron cron.CronService) error { - job := gocron.DurationJob(time.Minute) + job := gocron.DailyJob(1, gocron.NewAtTimes(gocron.NewAtTime(0, 0, 0))) _, err := cron.Scheduler().NewJob( job, gocron.NewTask(p.recordRate),