manager

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db *storage.Database, name, sched, command string) (string, error)

func RandomName

func RandomName() string

func Remove

func Remove(db *storage.Database, id string) error

func SetEnabled

func SetEnabled(db *storage.Database, id string, enabled bool) error

func Update

func Update(db *storage.Database, id, name, sched, command string) error

Types

type ImportResult added in v1.0.1

type ImportResult struct {
	Imported   int
	BackupPath string
}

func Import added in v1.0.1

func Import(db *storage.Database, entries []crontab.ForeignEntry) (ImportResult, error)

Jump to

Keyboard shortcuts

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