How do I add a setinterval to this getJson
<p>Hi there I am looking to set a setinterval of 30 seconds to my getJson function any hints would be graciously received ...</p>

<p>My code is as follows ...</p>

<pre><code>  $(function() 
{

$(document).ready(function()
 {



    $.getJSON("tempdata.json",function(data)
    {
            $.each(data.recent, function(i,data){
                var div_data ="&lt;div class='row'&gt;&lt;div class='col-sm-12   rowpost'&gt;&lt;div class='col-sm-3'&gt;&lt;div class='postplace'&gt;&lt;img src='"+data.coverurl+"' width='80' height='50'&gt;&lt;/img&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='col-sm-9'&gt;  &lt;span class='post_title1'&gt;"+data.trackartist+"&lt;/span&gt;&lt;br&gt;  &lt;small1&gt;&lt;em&gt;"+data.tracktitle+"&lt;/em&gt;&lt;/small1&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";

                $(div_data).appendTo("#Tracksinner");
            });
        }
    );
    return false;
});


});
</code></pre>