https://github.com/v2e4lisp/cron
cron
https://github.com/v2e4lisp/cron
Last synced: 2 months ago
JSON representation
cron
- Host: GitHub
- URL: https://github.com/v2e4lisp/cron
- Owner: v2e4lisp
- Created: 2016-02-16T13:06:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T12:01:32.000Z (over 10 years ago)
- Last Synced: 2025-03-05T15:24:48.305Z (over 1 year ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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()
}
```