solar: Move report cron time to 19:05

This commit is contained in:
Sangeeth Sudheer 2025-04-13 23:04:26 +05:30
parent b77dc6d3d8
commit 38623c8ebe
Signed by: x
GPG Key ID: F6D06ECE734C57D1

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()