autorestic/internal/cron.go
2021-04-12 00:17:29 +02:00

12 lines
165 B
Go

package internal
func RunCron() error {
c := GetConfig()
for _, l := range c.Locations {
if err := l.RunCron(); err != nil {
return err
}
}
return nil
}