solar: Update cron report time
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user