3
4
I'm trying to create a task that connects to internet at a specified time. I have a broadband wired connection that I use to connect to the internet. How do I manage connect/disconnect of this connection from command prompt?
Update/Additional Info:
Here's the actual situation:
My ISP offers free download from 2:00AM to 7:00AM. Thus I schedule my downloads during that period. I've been doing this without any problems until recently, when by looking at the logs I noticed I'm being disconnect sometime before 2:00AM. I have checked the auto reconnect on my connection for such cases but (again by checking the logs) I'm not able to reconnect automatically. So I'm guessing during that period of time (maybe for a few minutes) I cannot reconnect. So I want to check my connection at around 2:10AM and if it's disconnected, I want to reconnect it. Which brings us the the question of:
How do I schedule a windows task to connect to a broadband connection?
P.S. I know reconnection is possible. I tried it once, sometime around 3:00AM and it worked.
Update2: This is how I connect
Note: Do not be mistaken, this is NOT a wireless connection.
2what do you do normally? Isnt it on automatically? – Logman – 2013-07-16T00:03:11.683
Does this help?
– Raystafarian – 2013-07-16T00:09:19.807@Raystafarian taken from the link:
I would use Task Scheduler to trigger the script on connection to a network, then use the script to confirm presence of the internet.
This is exactly what I wnat but, where's this script? – atoMerz – 2013-07-16T05:04:37.357@Logman I'm trying to connect to stay connected to internet during a specific period of day(actually past midnight). I want to make sure I'm connected and if not try to reconnect. – atoMerz – 2013-07-16T05:07:55.930
@atoMerz What is disconnecting you? And what does "ipconfig | find /I "Ethernet adapter"" display? – Logman – 2013-07-16T11:06:08.087
@Logman see my update. – atoMerz – 2013-07-16T15:18:10.913
How or what are you connecting? Is it from a laptop (wireless) to a broad band connection? Wired through network adapter? – Logman – 2013-07-16T23:26:29.153