schedule

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlocSeparator = "===================="
)

Variables

This section is empty.

Functions

func FormatTaskResult

func FormatTaskResult(result *types.TaskResult) string

func GetCurrentTime

func GetCurrentTime(now time.Time, timezone string) (time.Time, error)

func Run

func Run(ctx *context.Context, ref time.Time, taskFilter []string, force bool, noResultPrint bool, resultPath string) []*types.TaskResult

func Start

func Start(ctx *context.Context, tick int, timezone string, taskFilter []string, noResultPrint bool, resultPath string) error

func WriteToLogFile

func WriteToLogFile(ctx *context.Context, resultPath string, data string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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