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