update fb page time
This commit is contained in:
parent
541cb905da
commit
4cd21015f1
@ -9,7 +9,7 @@ var c *cron.Cron
|
|||||||
// SetBackground -
|
// SetBackground -
|
||||||
func SetBackground() {
|
func SetBackground() {
|
||||||
c = cron.New()
|
c = cron.New()
|
||||||
c.AddFunc("0 * * * * *", readFacebookPage)
|
c.AddFunc("0 */2 * * * *", readFacebookPage)
|
||||||
c.AddFunc("*/20 * * * * *", getStreamStatus)
|
c.AddFunc("*/20 * * * * *", getStreamStatus)
|
||||||
c.AddFunc("*/5 * * * * *", checkOpay)
|
c.AddFunc("*/5 * * * * *", checkOpay)
|
||||||
c.AddFunc("0 0 */3 * * *", checkYoutubeSubscribe)
|
c.AddFunc("0 0 */3 * * *", checkYoutubeSubscribe)
|
||||||
|
Loading…
Reference in New Issue
Block a user