update fb page time

This commit is contained in:
Jay 2018-09-20 21:18:06 +08:00
parent 541cb905da
commit 4cd21015f1

View File

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