Friday, October 16, 2015

windows - Shutting down computer automatically after a download finishes


I am downloading the Visual Studio Trial version and it seems like it will take an hour or so to finish. I would like to shutdown computer automatically after this download finishes.


So is it possible to configure an automatic shutdown after the completion of a download either through a batch script or some external program?


Edit: I want to know if there is a program that can analyze network activity and trigger the auto shutdown.


enter image description here


Answer



DU Meter can (among other things) shutdown your computer if Internet traffic drops below a certain value (e.g. less than 100 KB in the last 10 minutes):


DU Meter Options


If using this together with some installer, the resulting solution will be rather brittle. If the installer shows an error message, you'll never see it since your computer will auto-shutdown. If the installer hangs, or waits for some user input, you'll never know, etc.


If, however, you can trigger download of an external content from the Internet without actually installing anything, then I think you'll be fine. I don't know about VS2010 specifically, but usually installers have means for downloading external content, e.g. for use on computers without direct Internet connection,etc.


Disclaimer: I'm the author of DU Meter.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...