Setting a timer for comp to shut down

Discussion in 'The Front Room' started by Bugz, Jul 25, 2007.

  1. Bugz

    Bugz Fledgling Freddie

    I.e. -> if I want music on and i want to have it automatically shut down wmp and then the comp in the near future - how would I go about this?

    Much thanks!
     
  2. - English -

    - English - Resident Freddy

    make aplaylist with the songs u want, go to sleep then when the songs are done you are asleep ;)

    p.s leave comp on overnight then :D
     
  3. Laddey

    Laddey Resident Freddy

    English is as helpful as toothache !! <3
     
  4. Solo

    Solo Fledgling Freddie

    An elaborate method would be to set a normal alarm then when it goes off get up and stick tin-foil nob into the mains. Volla hopefully all electricals will be shut down. Except maybe your dishwasher.
     
  5. georgie

    georgie Resident Freddy FH Subscriber

    I use this. :)

    Does the job nicely enough.
     
  6. old.Tohtori

    old.Tohtori FH is my second home

    So Bugz, you want to wank at your comp, but want the porn to shut down after a while because you fall asleep right after? :D

    Had to *cough*
     
  7. Mojo

    Mojo Fledgling Freddie

    Write a batch file and set the task scheduler to execute said batch file at the desired time.

    If you just wanted the whole comp to power down you could use the shutdown -f in the batch file this will shutdown the PC and force close all apps for example
     
  8. Overdriven

    Overdriven Not a sandwich

    Yeah, but he wants it to shut down after a certain time..

    If you could use "shutdown -i 600" in a batch, that't be great. But you can't =o or.. "Shutdown /t:600 -s" o_o something along those lines.

    (I'm sad, I didn't actually have to google the syntax)
     
  9. Mojo

    Mojo Fledgling Freddie

    You can use a time variable in a batch iirc it just seems pointless as you could just execute the batch later.

    I would just use shutdown -s -f and set the schedule for 30 mins after the expected Zzzzzzzzzz o'clock (assuming that's what he wants it for)
     
  10. Congax

    Congax Fledgling Freddie

    Use Linux and go like: "Shutdown -h 600 'time to go to bed mater' "

    Actually, come to think about it, doesn't shutdown -h work on windows?

    Edit: Bugz, execute notepad

    SHUTDOWN -s -t 600

    save as shutdown10min.bat and you can just execute that iirc.

    (-> 10 minutes that is)


    - I might be awfully mistaken.-
     
  11. Lamp

    Lamp I am a FH squatter

    Alarm Clock + 16oz claw hammer does the trick
     
  12. Mojo

    Mojo Fledgling Freddie

    Cos its not Linux :p

    The closest thing on windows is -f which force closes apps in case you have issues with a running app not closing during a normal shutdown.
     
  13. Congax

    Congax Fledgling Freddie

    SHUTDOWN -s -t 600

    does work on Windows tho?
     
  14. Alan

    Alan Fledgling Freddie

  15. Mojo

    Mojo Fledgling Freddie

    Yes, I was just on about the h switch that u mentioned for the Linux shutdown command, there is no windows equal unlike -r, the closest to -h for windows is -f
     
  16. Huntingtons

    Huntingtons Resident Freddy

    is it possible to boot your comp at a certain time? coz my phone is dead and i need to be at work @ 12 not sure i can wake up without a clock
     
  17. Congax

    Congax Fledgling Freddie

    Ah yes :)
     
  18. Mojo

    Mojo Fledgling Freddie

    You could do something with Wake on Lan in theory, but from one PC not likely, you typically wake PC's by sending a signal (packet) across the network from another PC/server plus there would be some scripting/Automation work to do before you got the PC to do anything functional when it was booted.

    So No probably not.
     
  19. Congax

    Congax Fledgling Freddie

    My BIOS has an option to setup a boot on a given time. I suggest you check your BIOS to see if you have that aswell :)
     
  20. Ingafgrinn Macabre

    Ingafgrinn Macabre Can't get enough of FH

    in a batch file named "shtdn.bat"
    Code:
    @ECHO OFF
    shutdown.exe -i -s -t 10 -c "Sleeping timer closing down the PC"
    and put that shtdn.bat in your scheduled tasks. (Control panel >> scheduled tasks)

    Can indeed also, like mentioned above, just let it play for 10 minutes orso (-t 600) and run it when you go to bed. the -t argument takes the time in seconds it'll wait to shutdown, so 600 is 10 minutes. 900 is 15.
     
  21. Sparx

    Sparx Cheeky Fucknugget

    not sure if its been answered yet i cant be arsed to look

    Start > control panel > schedule tasks > add new task > next > Browse > Browse to Windows then system32 folder, find shutdown.exe > perform daily (if thats what you want, then add time etc, its all self explanatory after that

    Means your comp will shut down every night at the time you requested
     
  22. Oysterboy

    Oysterboy Fledgling Freddie

    Why not just set it to shut down by using "screen properties" (right-click on desktop and click Properties)? Then set both HDDs and monitor to shut down after e.g. an hour.

    Something like this (in Norwegian, sorry):

    [​IMG]
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.