solar: Update cron report time
This commit is contained in:
parent
9c6d18b59b
commit
7627d48aaf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user