update cron time

This commit is contained in:
Jay 2018-09-22 10:10:27 +08:00
parent b9c7083dba
commit de0232f01c

View File

@ -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()
}