solar: Move report cron time to 19:05
This commit is contained in:
parent
b77dc6d3d8
commit
38623c8ebe
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user