I am building a scraper app with nodejs and I'd like it to scrape a certain site 2 times a day. now, there's a problem though.
what I am used to doing is that from client side, someone makes a request and the app scrapes data and shows the result.
but what If I want the app to just do the scraping 2 times a day, without the need for client to make a request to server. how does one do that?
Basically, it's a site where the user puts in keywords they are searching for. the app searches for that keyword everyday and it notifies the user when the keyword shows up on the page. so, how does one do that without having the user to search for the keyword everyday?
Seems like we can use cron jobs for scheduling, and the scraping will happen twice a day or any times I choose, but the thing is how do I send the data from the scraping to client side? Or how do I notify the site user that the keyword was found and he can come to the site and look at it?