mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-11-05 13:14:48 +01: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
|
|
}
|