Documentation ¶
Index ¶
- func AddCronJob(m *CrontabManager, name string, job *CrontabJob) bool
- func AsyncRun(job *CrontabJob, queue chan *Result)
- func FLog(name string, res *Result)
- func GetJobHandlerExector(job *CrontabJob) *exec.Cmd
- func RemoveAll(m *CrontabManager) int
- func RemoveCronJob(m *CrontabManager, name string) bool
- func StartCrontabProcess(m *CrontabManager, resQueue chan *Result, state chan *State)
- type CrontabJob
- type CrontabManager
- type JobHandler
- type Result
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCrontabProcess ¶
func StartCrontabProcess(m *CrontabManager, resQueue chan *Result, state chan *State)
启动crontab 进程
Types ¶
Click to show internal directories.
Click to hide internal directories.