Intervalo de conjunto de temporizador de JavaScript JS ClearInterval
$timer = setInterval(command, 5000);
clearInterval($timer);
Nasty Narwhal
$timer = setInterval(command, 5000);
clearInterval($timer);