JavaScript Timer Set Interval JS ClearInterVal
$timer = setInterval(command, 5000);
clearInterval($timer);
Nasty Narwhal
$timer = setInterval(command, 5000);
clearInterval($timer);