crontasker

package module
v0.0.0-...-8e747be Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 10 Imported by: 0

README

crontasker

cron like tasker with lasting time specific arg.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronDaemon

func CronDaemon(conf string) error

func SetDebug

func SetDebug(set bool)

Types

type Task

type Task struct {
	CronSpec string
	LastTime time.Duration
	Cmd      string
	Args     []string
}

func (*Task) Run

func (t *Task) Run()

Jump to

Keyboard shortcuts

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