I have a page that users will click a update link and once they land on the page it will tell the server to grab data from a API and takes a few minutes. The problem is I don't wan't to have to keep refreshing the page to send the user back once it has updated.
Is there a jQuery function that will check a PHP file every 10 seconds and if the PHP files says example yes it will the redirect them.
Sorry I'm new with jQuery.