Create crond scheduler and dependencies and store to disk

This commit is contained in:
bel
2020-03-12 15:14:25 -06:00
parent f022b26987
commit 65655080dd
12 changed files with 514 additions and 0 deletions

8
scheduler/errors.go Normal file
View File

@@ -0,0 +1,8 @@
package scheduler
import "errors"
var ErrBadCron = errors.New("bad cron input detected")
var ErrBadRunner = errors.New("bad cron runner")
var ErrJobNotFound = errors.New("bad job name given")
var ErrDuplicateJob = errors.New("duplicate job name given")