mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-11-01 03:04:12 +01:00
13 lines
184 B
Go
13 lines
184 B
Go
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
|
|
}
|