Monday, November 6, 2017

How to autostart wget to download files when internet connection gets up?

I am using Windows XP.



i have created a batch file containing wget -i links.txt --read-timeout=2 -t 0 -w 0 --waitretry=0 -c --no-check-certificate -b and the file "links.txt" contains URLs pointing to files I wish to download.



I've placed this batch file and "links.txt" in "C:\Documents and Settings\user\Start Menu\Programs\Startup" directory, in order to make wget start when my computer boots.




However, it takes some time to for my internet connection to get up when I start my computer. Thus the the batch file runs before my connection is up, so wget fails to download anything.



So, is there anyway to run in the background a batch file or wget when internet connection is established?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...