func RunTickerTestContainers(ctx context.Context, client container.Client, interval time.Duration) {
	manager := common.NewTaskManager()
	ticker := time.NewTicker(interval)
	for {
		runNewTasks(manager, client)
		select {
		case <-ctx.Done():
			ticker.Stop()
			manager.StopAllTasks()
			log.Info("Test Containers' Ticker Stopped.")
			return
		case <-ticker.C:
			break
		}
	}
}
RunTickerTestContainers on a clock intervals runs test containers that should run recurring.
package actions
import (
	log "github.com/Sirupsen/logrus"
	"github.com/gaia-docker/tugbot-common"
	"github.com/gaia-docker/tugbot/container"
	"golang.org/x/net/context"
	"time"
)