From 4cd21015f1eeb5c9319dc7b5e8883e543668dcef Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 20 Sep 2018 21:18:06 +0800 Subject: [PATCH] update fb page 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 067b5a3..2ab737b 100644 --- a/module/background/background.go +++ b/module/background/background.go @@ -9,7 +9,7 @@ var c *cron.Cron // SetBackground - func SetBackground() { c = cron.New() - c.AddFunc("0 * * * * *", readFacebookPage) + c.AddFunc("0 */2 * * * *", readFacebookPage) c.AddFunc("*/20 * * * * *", getStreamStatus) c.AddFunc("*/5 * * * * *", checkOpay) c.AddFunc("0 0 */3 * * *", checkYoutubeSubscribe)