window.setInterval(function(){
$('#ujs_RunAndCommitBtn_btn').click();
}, 4000);
The code above will run your autopilot every 4 seconds, make sure to note down the interval_id you get when you start that function, so you can stop it using
window.clearInterval(interval_id)