scheduler

package
v1.68.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskScheduler

type TaskScheduler interface {
	// Start Starts the task scheduler crone
	Start()
	// Stop Stops the task scheduler
	Stop() context.Context
}

TaskScheduler Interface for scheduling tasks

func NewTaskScheduler

func NewTaskScheduler(ctx context.Context, task tasks.Task, cronSpec string) (TaskScheduler, error)

NewTaskScheduler Creates a new task scheduler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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