setInterval(function(){ console.log("Oooo Yeaaa!"); }, 2000);//run this thang every 2 seconds
var myInterval = setInterval(function(){console.log("mmk")}, 2000); clearInterval(myInterval); //stop that interval