I'm trying to run refreshPage() every minute in a google web app. Although I cannot seem to get the function to repeat. Does anyone see any issues? It runs correctly the first time.
$(document).ready(function(){
setInterval(refreshPage(), 60000);
});
function refreshPage()
{
google.script.run.withSuccessHandler(googlescript).myfunction();
}