implement enable disable with client side display and mod
This commit is contained in:
@@ -53,6 +53,9 @@ func newBashJob(schedule, sh string, title ...string) (*Job, error) {
|
||||
j.Title = title[0]
|
||||
}
|
||||
j.foo = func() {
|
||||
if j.Disabled {
|
||||
return
|
||||
}
|
||||
cmd := exec.Command("bash", "-c", sh)
|
||||
j.LastRun = time.Now()
|
||||
start := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user