View Full Version : task scheduler for shut down?
TimDgsr
11-21-02, 10:47 PM
can you use task scheduler to shut a computer down? I found an article on how to make it reboot, but I haven't tried it out yet. just curious if anyone knows off hand
macklin01
11-21-02, 11:18 PM
Which OS? If it's NT-based use the shutdown command; create a bat file with the arguments you want and schedule the bat file.
Otherwise, you might lookhere:
http://www.budja.com/shutdown/
I use that one with MBM5. -- Paul
DDR-PIII
11-21-02, 11:20 PM
if u wanna do it with the task thing just do click the browse button once you inthere and it asks which program you want to use, then goto C:\windows\system32\ and add shutdown.exe and click next then set the time you want to shut down at oh it'll ask you if u wanna do it daily weekly,monthly,,,,etc...
TimDgsr
11-21-02, 11:40 PM
Originally posted by DDR-PIII
if u wanna do it with the task thing just do click the browse button once you inthere and it asks which program you want to use, then goto C:\windows\system32\ and add shutdown.exe and click next then set the time you want to shut down at oh it'll ask you if u wanna do it daily weekly,monthly,,,,etc...
thanks, thats what i was looking for. for some reason i was thinking it was shutdownnt.exe and search wasn't finding it.
TimDgsr
11-22-02, 12:15 PM
well, shutdown.exe is a command line executable with switches.
so in the task scheduler line, you really have to type C:\WINDOWS\system32\shutdown.exe -s -f
the -s is to shutdown
the -f is to force running apps to close
not really sure if the -f is necessary, but i added it in to be sure.
thanks for the help :D
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.