Browse Source

Initial Implementation

master
Jan Christian Grünhage 5 years ago
parent
commit
b8bbc8a754
Signed by: jcgruenhage GPG Key ID: 321A67D9EE8BC3E1
  1. 4
      main.go

4
main.go

@ -36,7 +36,9 @@ func main() {
for j := 0; j < len(config.Scripts); j++ {
for i := 0; i < len(timeFolders); i++ {
path := "/etc/periodic/" + timeFolders[i] + "/" + config.Scripts[j].Name
if existsFile(path) {
exists, err := existsFile(path)
check(err)
if exists {
os.Remove(path)
}
}

Loading…
Cancel
Save