How to run function first time and then through time?

There is a function that runs every 30 seconds, but how to do that would be the first time she had run from?
var get_comm_func = setInterval(function() {
 type: "POST",
 url: "",
 data: {id: id},
 success: function(data) {
 $.each(JSON.parse(data), function(key, value){
 }, 30000);
July 8th 19 at 16:45
0 answer

Find more questions by tags jQueryJavaScript