cron

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcNewNext

func CalcNewNext(schedule string, now time.Time) (time.Time, error)

CalcNewNext parses a cron string and calculates the next exec time based on it.

func CreatePipeline

func CreatePipeline(ctx context.Context, store store.Store, cron *model.Cron) (*model.Repo, *model.Pipeline, error)

func Run added in v2.7.0

func Run(ctx context.Context, store store.Store) error

Run starts the cron scheduler loop.

Types

This section is empty.

Jump to

Keyboard shortcuts

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