package
0.2.9
Repository: https://github.com/yi-nology/common.git
Documentation: pkg.go.dev

# Functions

Every returns a crontab Schedule that activates once every duration.
NewParser creates a Parser with custom options.
ParseStandard returns a new crontab schedule representing the given standardSpec (https://en.wikipedia.org/wiki/Cron).

# Constants

Allow descriptors such as @monthly, @weekly, etc.
Day of month field, default *.
Day of week field, default *.
Optional day of week field, default *.
Hours field, default 0.
Minutes field, default 0.
Month field, default *.
Seconds field, default 0.
Optional seconds field, default 0.

# Structs

ConstantDelaySchedule represents a simple recurring duty cycle, e.g.
A custom Parser that can be configured.
SpecSchedule specifies a duty cycle (to the second granularity), based on a traditional crontab specification.

# Interfaces

Schedule describes a job's duty cycle.

# Type aliases

Configuration options for creating a parser.