You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package internal
|
|
|
|
func RunCron() error {
|
|
c := GetConfig()
|
|
for name, l := range c.Locations {
|
|
l.name = name
|
|
if err := l.RunCron(); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
return nil
|
|
}
|