update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package background
|
||||
|
||||
import "github.com/robfig/cron"
|
||||
|
||||
var c *cron.Cron
|
||||
|
||||
// SetBackground -
|
||||
func SetBackground() {
|
||||
c = cron.New()
|
||||
c.AddFunc("0 */2 * * * *", readFacebookPage)
|
||||
c.Start()
|
||||
}
|
||||
|
||||
func readFacebookPage() {}
|
||||
Reference in New Issue
Block a user