solar: Move report cron time to 19:05

This commit is contained in:
2025-04-13 23:04:26 +05:30
parent b77dc6d3d8
commit 38623c8ebe

View File

@@ -52,7 +52,7 @@ func main() {
solar := internal.NewSolar(client, deyeUser, deyePassword)
myCron := cron.New()
myCron.AddFunc("0 0 18 * * *", solar.CronSendDailyReport)
myCron.AddFunc("0 5 19 * * *", solar.CronSendDailyReport)
myCron.AddFunc("0 */15 5-19 * * *", solar.CronCollectMetrics)
myCron.Start()