crond

package
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachJob

func AttachJob(job *tables.Cronjob) error

func Daemon

func Daemon()

func Execute

func Execute(id uint) error

func GetEntries

func GetEntries() map[uint]JobStatus

func NewById

func NewById(rd uint)

func RedoById

func RedoById(rd uint)

func UndoById

func UndoById(rd uint)

Types

type JobStatus

type JobStatus struct {
	EntryId  int64 `json:"entry_id"`
	NextTime int64 `json:"next_time"`
	PrevTime int64 `json:"prev_time"`
}

Jump to

Keyboard shortcuts

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