I have built a simple application (loop) with node and phantom.js that scrapes the web for some data and emails me periodically with new results.
Currently I run the command in my local terminal and as long as the window is open it will continue to run. My question is how should I go about implementing an interface (web app most likely) so that I can type in my parameters and have it run even when I leave the page?
I've heard talk of a package called 'forever' but I'm unsure of how it works if maybe someone could explain that to me.
I have my own shared hosting but conceptually I'm confused about how I could implement this. I can push my code to heroku but from there should I maybe create a simple dashboard for me to start and stop my web scraper loop? Heroku needs to spin up after like an hour of inactivity so that might not work.
My app currently just picks up the parameters from the command line so I'd obviously have to instead grab the data from input fields or something.
High level concept of what needs to be done would be great help.