Documentation ¶
Index ¶
- func AddJob(spec string, job *Job) bool
- func Close()
- func CmdParams(command string) []string
- func GetEntries(size int) []*cron.Entry
- func GetEntryById(id uint) *cron.Entry
- func HistoryJobsRunning() bool
- func InitJobs() error
- func Initial(sizes ...int)
- func InitialMailTpl()
- func MailTpl() *template.Template
- func MainCron(mustStart bool) *cron.Cron
- func NewCmdRec(max uint64) *cmdRec
- func Parse(spec string) error
- func RemoveJob(id uint)
- func Running() bool
- func SendMail(toEmail string, toUsername string, title string, content []byte, ...) error
- type Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEntries ¶
func GetEntryById ¶
func HistoryJobsRunning ¶
func HistoryJobsRunning() bool
func InitialMailTpl ¶
func InitialMailTpl()
Types ¶
Click to show internal directories.
Click to hide internal directories.