Commit 5474131f authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/cron' into 'develop'

aaa See merge request !30
parents f231ac68 dcc8ca2d
......@@ -7,7 +7,7 @@ import (
var c *cron.Cron
func Setup() error {
func Setup(){
c = cron.New()
c.AddFunc("* * * * * *", func() {
......@@ -21,6 +21,4 @@ func Setup() error {
})
c.Start()
return nil
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment