Documentation
¶
Index ¶
- Constants
- type Cron
- func (c *Cron) AddJob(cron string, tag string, jobFunc interface{}, args ...interface{}) (*gocron.Job, error)
- func (c *Cron) AttachCommands(cmd *cobra.Command) *cobra.Command
- func (c *Cron) CmdCron(cmd *cobra.Command, args []string) error
- func (c *Cron) CmdCronAdd(_ *cobra.Command, _ []string) error
- func (c *Cron) CmdCronList(_ *cobra.Command, _ []string) error
- func (c *Cron) CmdCronRemove(_ *cobra.Command, _ []string) error
- func (c *Cron) CmdCronRun(_ *cobra.Command, args []string) error
- func (c *Cron) GetCmd() *cobra.Command
- func (c *Cron) InitArgs(_ *cobra.Command, _ []string) error
- func (c *Cron) Jobs() []*gocron.Job
- func (c *Cron) PrintJobs()
- func (c *Cron) ReExecute() error
- func (c *Cron) StartBlocking() error
Constants ¶
View Source
const Group = "Cron"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.