Skip to content

Repository files navigation

task-master.go

customizable task execution system and library written in go with no dependancy

CodeQL


Usage

go get github.com/dev-asterix/task-master.go

simple scheduler based on time interval

package main
import (
"github.com/dev-asterix/task-master.go/scheduler"
)
funcmain() {
// create a new schedulers:=scheduler.NewIntervalBased(10, scheduler.Second)
for {
// run taskss.Schedule() // calculate next schedule and wait for it// runs after scheduled interval (here, 10 seconds)
}
}

Code.Share.Prosper

About

customizable task execution system and library written in go with no dependancy

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages