cron

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 2 Imported by: 0

README

Cron

Package cron provides a simple way to schedule tasks at fixed intervals.

Documentation

Overview

Package cron provides a simple way to schedule tasks at fixed intervals.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cron

func Cron(e time.Duration, d time.Duration) <-chan struct{}

Cron schedules tasks at regular intervals. This function receives two parameters: the elapsed time (duration) between consecutive task executions (period), and the initial delay before the first task execution. This delay is applied after aligning to the next period boundary.

Types

This section is empty.

Directories

Path Synopsis
cmd
cuckoo command

Jump to

Keyboard shortcuts

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