cronutil

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cronutil validates cron expressions shared by pipeline and chat scheduler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextRun

func NextRun(spec string, from time.Time) (time.Time, error)

NextRun returns the next fire time after from for a validated cron expression.

func ValidateExpr

func ValidateExpr(spec string) error

ValidateExpr parses a cron expression using the same field set as pipeline triggers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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