cron

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package cron reads 5-field cron schedules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Due

func Due(cron string, t time.Time) (bool, error)

Due reports whether the 5-field cron spec (minute hour day-of-month month day-of-week) fires in t's minute. Both day fields restricted means either matches, as in cron.

Types

This section is empty.

Jump to

Keyboard shortcuts

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