Archived
1

Pin to all squads at :55 of every even hour

Closes #9
This commit is contained in:
2017-11-24 13:24:36 +04:00
parent a32ed89be8
commit b038d5b10d
8 changed files with 64 additions and 5 deletions

View File

@@ -25,4 +25,6 @@ func New(ac *appcontext.Context) {
// Init is an initialization function for pinner
func (p *Pinner) Init() {
c.Log.Info("Initializing Pinner...")
c.Cron.AddFunc("0 55 */2 * * *", p.PinBattleAlert)
}