Commit dcc8ca2d authored by shajiaiming's avatar shajiaiming

aaa

parent 2fe631ba
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
var c *cron.Cron var c *cron.Cron
func Setup() error { func Setup(){
c = cron.New() c = cron.New()
c.AddFunc("* * * * * *", func() { c.AddFunc("* * * * * *", func() {
...@@ -21,6 +21,4 @@ func Setup() error { ...@@ -21,6 +21,4 @@ func Setup() error {
}) })
c.Start() 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