An open API service indexing awesome lists of open source software.

https://github.com/v2e4lisp/cron

cron
https://github.com/v2e4lisp/cron

Last synced: 2 months ago
JSON representation

cron

Awesome Lists containing this project

README

          

# Cron

http://crontab.org/

## Usage

```go
package main

import (
"fmt"

"github.com/v2e4lisp/cron"
)

func main() {
cron := cron.NewCron()
hi := func() { fmt.Println("hello world") }
// print a "hello world" every minute
cron.Register("hi", "* * * * *", hi)
cron.Start()
}
```