This commit is contained in:
2021-04-11 15:02:27 +02:00
parent 5d92b5bcc1
commit 8a1fe41825
6 changed files with 91 additions and 3 deletions

12
internal/cron.go Normal file
View File

@@ -0,0 +1,12 @@
package internal
func RunCron() error {
c := GetConfig()
for _, l := range c.Locations {
err := l.RunCron()
if err != nil {
return err
}
}
return nil
}