I'm a Perl programmer with some nice scripts that go fetch HTTP pages (from a text file-list of URLs) with cURL and save them to a folder.
However, the number of pages to get is in the tens of millions. Sometimes the script fails on number 170,000 and I have to start the script again manually. It automatically reads the URL and sees if there is a page downloaded and skips. But, with a few hundred thousand, it still takes a few hours to skip back up to where it left off. Obviously, this is not going to pan out in the end.
So, I'm thinking a solution is to build a Visual Basic program that opens the command prompts, collects console output and restarts the script if needed at the last missed number.
I've never made a VB program, but I hear it's cake. Could I get a layman's explanation of how to do this (open prompts, send commands, capture output, restart prompts)? Or is there a better way to solve my problem?