cronexpr

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTo

func ParseTo(expr string, to *Expr) (err error)

Types

type Expr

type Expr struct {
	// contains filtered or unexported fields
}

Expr Field name | Mandatory? | Allowed values | Allowed special characters ---------- | ---------- | -------------- | -------------------------- Seconds | No | 0-59 | * / , - Minutes | Yes | 0-59 | * / , - Hours | Yes | 0-23 | * / , - Day of month | Yes | 1-31 | * / , - Month | Yes | 1-12 | * / , - Day of week | Yes | 0-6 | * / , -

func Parse

func Parse(expr string) (cronExpr *Expr, err error)

func (*Expr) Next

func (e *Expr) Next(t time.Time) time.Time

Next goroutine safe

func (*Expr) Reset

func (e *Expr) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL