Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCronManger = NewCronTabManger("DefaultCronManger")
Functions ¶
func AddCronJob ¶
func RemoveCronJob ¶
func RemoveCronJob(id cron.EntryID)
Types ¶
type CronManger ¶
type CronManger struct {
// contains filtered or unexported fields
}
func NewCronTabManger ¶
func NewCronTabManger(name string) *CronManger
func (*CronManger) AddCronJob ¶
func (c *CronManger) AddCronJob(spec string, job cron.Job) (cron.EntryID, error)
func (*CronManger) Close ¶
func (c *CronManger) Close()
func (*CronManger) GetCron ¶
func (c *CronManger) GetCron() *cron.Cron
func (*CronManger) RemoveCronJob ¶
func (c *CronManger) RemoveCronJob(id cron.EntryID)
func (*CronManger) Start ¶
func (c *CronManger) Start()
Click to show internal directories.
Click to hide internal directories.