Versions in this module Expand all Collapse all v1 v1.0.2 Nov 7, 2016 Changes in this version + func AddJob(spec string, job *Job) string + func GetEntries(size int) []*antcron.Entry + func GetEntryById(id int) *antcron.Entry + func GetLocalIp() string + func InitOneJobByTaskId(taskId int) string + func RemoveJob(id int) bool + type Job struct + Concurrent bool + func NewCommandJob(id int, name string, command string) *Job + func NewJobFromTask(task *models.Task) (*Job, error) + func (j *Job) GetId() int + func (j *Job) GetLogId() int64 + func (j *Job) GetName() string + func (j *Job) GetPid() int + func (j *Job) Run() + func (j *Job) Status() int