debug logs and b64 non encodable

This commit is contained in:
bel
2020-04-08 02:25:24 +00:00
parent ad31115009
commit d9b10029ae
9 changed files with 25 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import (
"local/firestormy/config"
"local/firestormy/config/ns"
"local/firestormy/logger"
"local/logb"
"os/exec"
"strings"
"time"
@@ -53,6 +54,7 @@ func newBashJob(schedule, sh string, title ...string) (*Job, error) {
j.Title = title[0]
}
j.foo = func() {
logb.Debugf("[sched] run %s/%s? %v", j.Title, j.Name, j.Disabled)
if j.Disabled {
return
}