I have this service using HttpClient to get some data :
checkData() { return this.http.get(\'my url\'); }
The on the footer component I
You can use the setInterval which is quite simple
setInterval(console.log('hi'), 10000);
This runs for every 10 secs