Skip to content

Repository files navigation

cron

A Lightweight Cron Module

Install

go get github.com/frisbm/cron

Usage

package main
import (
"fmt""github.com/frisbm/cron""log"
)
funcmain() {
cron, err:=cron.Parse("* * * * *")
iferr!=nil {
log.Fatal(err)
}
now:=cron.Now()
fmt.Println(now) // true
}

See package documentation here

Example

See an example cron scheduler service in scheduler module

About

A Lightweight Cron Module

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages