triger ajax call after every 24 hours in jquery

how can i trigger Jquery ajax call after the every 24 hours?

setInterval(function() {
    $.post('get_sales.php', function(data) {
        $('#updates_contents').html(data);
    });
}, 5000);


Source: ajax

Leave a Reply