package
0.7.22
Repository: https://github.com/apung/gogs.git
Documentation: pkg.go.dev

# Functions

Every returns a crontab Schedule that activates once every duration.
New returns a new Cron job runner.
Parse returns a new crontab schedule representing the given spec.

# Structs

ConstantDelaySchedule represents a simple recurring duty cycle, e.g.
Cron keeps track of any number of entries, invoking the associated func as specified by the schedule.
Entry
Entry consists of a schedule and the func to execute on that schedule.
SpecSchedule specifies a duty cycle (to the second granularity), based on a traditional crontab specification.

# Interfaces

Job is an interface for submitted cron jobs.
The Schedule describes a job's duty cycle.

# Type aliases

A wrapper that turns a func() into a cron.Job.