Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultParser ¶ added in v1.2.0
func CreateDefaultParser() cron.Parser
Types ¶
type CronJob ¶
func NewCronJob ¶
func NewExpressionCron ¶
func NewExpressionCron( expression Expression, action run.Runnable, ) CronJob
func NewOneTimeCron ¶
type Expression ¶ added in v1.2.0
type Expression string
Expression of the cron cron.Second | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | cron.Descriptor every second: * * * * * ? every minute 0 * * * * ? every 15 minute 0 */15 * * * ? every hour: 0 0 * * * ? every hour on sunday: 0 0 * * * 0
func (Expression) Bytes ¶ added in v1.2.0
func (e Expression) Bytes() []byte
func (Expression) Ptr ¶ added in v1.2.0
func (e Expression) Ptr() *Expression
func (Expression) String ¶ added in v1.2.0
func (e Expression) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.