Timed Shutdown

Associate
Joined
26 Nov 2008
Posts
1,090
Im looking for a program, be it standalone or addon (ie gagdet on windows sidebar) that allows me to set a timer to automatically shutdown my computer.

For example i set it for 2 hrs and in two hrs time the computer automatically turns itself off.

I can do this at the moment by using winamp which shuts down the computer after the playlist ends but am wondering if theres another way, maybe simpler to time etc.
 
You could just set-up a scheduled task to run a batch file containing:

Code:
shutdown -s -t 10
 
You could just set-up a scheduled task to run a batch file containing:

Code:
shutdown -s -t 10

problem is the highest timeout value for t is 600 which is 10 minutes

I have my machine configured to turn off at 2AM every day, easy to setup a scheduled task for it but you need to know what time to turn it off :P
 
problem is the highest timeout value for t is 600 which is 10 minutes

I have my machine configured to turn off at 2AM every day, easy to setup a scheduled task for it but you need to know what time to turn it off :P

You could just modify the scheduled task each time :p.

Alternatively, just set-up windows to go to sleep / standby or hibernate after an hour or two of being idle?
 
You could set a ping timeout (-w) prior to the shutdown command. Not sure what the max timeout is but I think you set the value in m/s.
 
You all made the mistake of thinking i'd know what on earth your on about.

But if anyone wants to explain how to do what you mean in basic steps I'll give it a go.

I usually just install add-ons or gadgets etc. i never create files or mess with source code
 
well, what would be useful is if you could tell us exactly what you want to do with this.

For example, do you want to just press a button and your machine to shut down two hours later, do you want it to always shutdown at the same time every day, etc

How do you want this to work?
 
I wanted to be able to set a timer, be it 15 mins or 15 hrs, to shutdown pc.

I say wanted because luckily i found just what i was looking for as a gadget for the sidebar.

Thanks all for the help although maybe a bit to technical for me.
 
Back
Top Bottom