Documentation ¶ Index ¶ func InitCronTab(logPath string) type CronTab func NewCronTab(opts ...cron.Option) *CronTab func (ct *CronTab) AddJob(spec string, cmd cron.Job) (cron.EntryID, error) func (ct *CronTab) Close() func (ct *CronTab) Refresh() func (ct *CronTab) Running() func (ct *CronTab) Start() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitCronTab ¶ func InitCronTab(logPath string) Types ¶ type CronTab ¶ type CronTab struct { // contains filtered or unexported fields } var SingletonCronTab *CronTab func NewCronTab ¶ func NewCronTab(opts ...cron.Option) *CronTab func (*CronTab) AddJob ¶ func (ct *CronTab) AddJob(spec string, cmd cron.Job) (cron.EntryID, error) func (*CronTab) Close ¶ func (ct *CronTab) Close() func (*CronTab) Refresh ¶ func (ct *CronTab) Refresh() func (*CronTab) Running ¶ func (ct *CronTab) Running() func (*CronTab) Start ¶ func (ct *CronTab) Start() Source Files ¶ View all Source files crontab.go Click to show internal directories. Click to hide internal directories.