Automated reboot of my server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paqi
    Member
    • Dec 2008
    • 74

    Automated reboot of my server

    Hi,

    I seems to have small hickups on my system once in a while so I thought of one thing. If I could set it to reboot every morning at 6 then everything would be ready for morning radio.

    I am running XP on a HP nc6220 laptop so how do I make a task that does this automated every morning?

    Can any of you share some ideas on this?

    Thanks.

    Jeppe
  • Siduhe
    Senior Member
    • Jun 2005
    • 3238

    #2
    Use the Task Scheduler in Windows XP to create an task, repeating daily, using the SHUTDOWN command. Despite its name, SHUTDOWN can be used to carry out a reboot as well by passing the -r command.

    At a guess, it will be something like:

    at 06:00 SHUTDOWN /l /r /c

    Which should shutdown and reboot the local computer that the task is running on and will force all programs to quit (in case any are locked up). Could lead to data loss though. You should check the correct syntaxes though.
    Last edited by Siduhe; 2009-04-27, 11:36.
    Who am I on LAST.FM?
    "Siduhe Loved Tracks radio got the thumbs up. Feedback included: yeah, it's good... got the odd dodgy track tho..." (c) ModelCitizen

    Comment

    • paqi
      Member
      • Dec 2008
      • 74

      #3
      thanks for the help. What if the pc is in standby at the time - is there a solution to start the pc then and then set it to shutdown and reboot?

      Comment

      • Siduhe
        Senior Member
        • Jun 2005
        • 3238

        #4
        In practice it may depend on the precise BIOS that your computer is running, but what should work is when you create the new task, open up the advanced properties for the task, click Settings, and check "wake the computer to run this task", and click OK.
        Who am I on LAST.FM?
        "Siduhe Loved Tracks radio got the thumbs up. Feedback included: yeah, it's good... got the odd dodgy track tho..." (c) ModelCitizen

        Comment

        Working...