update cron time
This commit is contained in:
parent
b9c7083dba
commit
de0232f01c
@ -9,6 +9,6 @@ var c *cron.Cron
|
|||||||
// SetBackground -
|
// SetBackground -
|
||||||
func SetBackground() {
|
func SetBackground() {
|
||||||
c = cron.New()
|
c = cron.New()
|
||||||
c.AddFunc("0 * * * * *", getFacebookPageData)
|
c.AddFunc("0 */2 * * * *", getFacebookPageData)
|
||||||
c.Start()
|
c.Start()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user