Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-07-2006, 07:28 AM   #11
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: is there a program that allows u to shut down your computer

Here is a guide on how to use it.

http://www.iopus.com/guides/winscheduler.htm
__________________

__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-07-2006, 07:58 AM   #12
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: is there a program that allows u to shut down your computer

windows XP has a command that is shutdown...
Quote:
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

so you want to shedule this:

"shutdown -s -f"

for 5:00am in the morning.
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 05-07-2006, 08:07 AM   #13
Daemon Poster
 
uid=[0]'s Avatar
 
Join Date: Apr 2006
Posts: 906
Send a message via Yahoo to uid=[0]
Default Re: is there a program that allows u to shut down your computer

LOL yea thats fine and all, but if he cant figure out task schedular do you think that would be a good way to go root?
__________________
"Security is nothing more than a thought that makes you sleep well at night." - Me
MCSE/MCSA
Security+/Network+
Wireless Network Security Spec.
uid=[0] is offline   Reply With Quote
Old 05-07-2006, 09:32 AM   #14
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: is there a program that allows u to shut down your computer

Hmm...

The task scheduler is just a series of next buttons,
and it's not hard to create a batch file with the line that I suggested above and schedule that...

the only other way I can think of how to do this would be to download some sort of program that would do it for him.

or to click start, press run and typ shutdown -i

then he cuold set the shutdown time before he goes to bed, (assuming he's manually statring the downloads.

assum you go to slep at midnight, set thecomputer to shutdown, and set the delay (in seconds for)
5 (hours) *60 (minutes) * 60 (seconds) = 18000 seconds...

then five hours later, (once you are sleeping) your computer will shut it's self down,

this is probably better in some respects because,
a) you get to tell it when to shutdown, if there is three hours left on your download, you can make it turn off in three hours rather than five.
b) it won't turn off when you don't want it to, (e.g if you've gotten up early to complete an asignment and forgotten that yuo'd scheduled that task.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 05-07-2006, 09:42 AM   #15
In Runtime
 
Join Date: Feb 2005
Posts: 128
Default Re: is there a program that allows u to shut down your computer

Quote:
Originally Posted by root
Hmm...

The task scheduler is just a series of next buttons,
and it's not hard to create a batch file with the line that I suggested above and schedule that...

the only other way I can think of how to do this would be to download some sort of program that would do it for him.

or to click start, press run and typ shutdown -i

then he cuold set the shutdown time before he goes to bed, (assuming he's manually statring the downloads.

assum you go to slep at midnight, set thecomputer to shutdown, and set the delay (in seconds for)
5 (hours) *60 (minutes) * 60 (seconds) = 18000 seconds...

then five hours later, (once you are sleeping) your computer will shut it's self down,

this is probably better in some respects because,
a) you get to tell it when to shutdown, if there is three hours left on your download, you can make it turn off in three hours rather than five.
b) it won't turn off when you don't want it to, (e.g if you've gotten up early to complete an asignment and forgotten that yuo'd scheduled that task.

Hi thanks for the help i have gotten this far so far i went to Start run typed shutdown -i a window pops up now this is where i dont get it where do i type in the 18000 seconds do i add anything up the top of the box that poped up and do i write any comments down the bottom?


once again thanks for the help
nick_w is offline   Reply With Quote
Old 05-07-2006, 09:51 AM   #16
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: is there a program that allows u to shut down your computer

where it says warn users of this action.

it's defaulted to 20 seconds, change the warning time to 18000 seconds

you don't have to put a comment, just change the reason to planned instead of unplanned, as soon as you pres OK, the warning time will start to countdown, after ths time your computer wil shut down.

(don't forget to add your computer name in the box at the top so it knows what computer to actually shutdown).
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 05-07-2006, 10:38 AM   #17
In Runtime
 
Join Date: Feb 2005
Posts: 128
Default Re: is there a program that allows u to shut down your computer

ok kool dats mad as thanks alot. Now if i just say wake up wat do i do to make it so it doesnt count down anymore
nick_w is offline   Reply With Quote
Old 05-07-2006, 11:24 AM   #18
BSOD
 
Join Date: Feb 2006
Posts: 7,539
Send a message via AIM to Trivium Nate
Default Re: is there a program that allows u to shut down your computer

Why not just leave youre comp on
Trivium Nate is offline   Reply With Quote
Old 05-07-2006, 10:32 PM   #19
In Runtime
 
Join Date: Feb 2005
Posts: 128
Default Re: is there a program that allows u to shut down your computer

because my mum will crack it if i leave da comp on al night so if i do it the way root said shel never know.
nick_w is offline   Reply With Quote
Old 05-08-2006, 06:23 AM   #20
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: is there a program that allows u to shut down your computer

if you want to abort the shutdown, simply click on start, press run and type

shutdown -a
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0