From de0232f01c0f6c38386441e9b4b5362f7c6bfed9 Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 22 Sep 2018 10:10:27 +0800 Subject: [PATCH] update cron time --- module/background/background.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/background/background.go b/module/background/background.go index d908db7..9bd59ec 100644 --- a/module/background/background.go +++ b/module/background/background.go @@ -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() }