mtgbot/modules/background/background.go
Jay 273278d322 update
1. add cron module
2. add pool module
3. add tcgplayer background job
4. add card price model
2019-01-16 16:53:08 +08:00

13 lines
137 B
Go

package background
import "github.com/robfig/cron"
var c *cron.Cron
// SetCronJob -
func SetCronJob() {
c = cron.New()
c.Start()
}