cron

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

Package cron provides a source that will invoke the function based on a cron schedule.

The source must be configured with a string that contains a cronspec with the following structure:

seconds(optional) minutes hours day-of-month month day-of-week

The cronspec also supports descriptions such as @monthly and @weekly.

The implementation is based on github.com/robfig/cron/v3.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() run.Source

New creates and returns a cron source. It must be configured with the desired cronspec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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