JS Ejecutar la función EVRY SEGUNDO

function everyTime() {
    console.log('each 1 second...');
}

//set execution every x ms
var myInterval = setInterval(everyTime, 1000);

//unset execution every x ms
clearInterval(myInterval);
mattia896