solar: Update cron report time

This commit is contained in:
Sangeeth Sudheer 2025-04-12 18:53:23 +05:30
parent 9c6d18b59b
commit 7627d48aaf
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 19 * * *", solar.SendDailyReport)
myCron.AddFunc("0 0 18 * * *", solar.SendDailyReport)
myCron.Start()
// Listen to Ctrl+C (you can also do something else that prevents the program from exiting)