mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
12 lines
165 B
Go
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
|
|
}
|