+ Post New Thread
Results 1 to 3 of 3
Windows Server 2000/2003 Thread, scheduled task re-start of windows 2003 Server in Technical; ...
  1. #1

    Join Date
    Oct 2007
    Location
    Doncaster
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    scheduled task re-start of windows 2003 Server

    Morning,

    I have tried a script so my windows 2003 server re-starts at 5am every morning however it didnt work

    I ran the script vie scheduled tasks it ran but didnt re-start

    I followed the steps from this website

    Schedule Windows to Automatically Restart « Team Tutorials

    Hope someone can help

  2. #2

    Join Date
    May 2007
    Location
    Birmingham
    Posts
    170
    Thank Post
    9
    Thanked 45 Times in 36 Posts
    Rep Power
    28
    i use shutdown and put this in the scheduled task run cmd line C:\WINDOWS\system32\shutdown.exe -r -f -t 01 and it works.
    Last edited by JOrdan01070; 2nd February 2011 at 09:48 AM.

  3. #3

    Join Date
    Dec 2009
    Location
    Hampshire
    Posts
    4
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    If you want it in a script just create a .bat file and call that from the scheduler.

    Here's what I did.

    ---------
    Rem Auto reboot script
    Rem - Use scheduler to activate out of hours

    C:\Windows\system32\shutdown.exe -r -t 60 /d p:2:17

    exit
    --------------

    you may want to use -f (to force a showdown if your server refuses to without it).
    Last edited by lquinn; 7th February 2011 at 03:49 PM.



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 30th April 2010, 01:29 PM
  2. [PHP] Scheduled Task
    By T_Noble in forum Web Development
    Replies: 7
    Last Post: 19th January 2010, 03:27 PM
  3. Scheduled Task Query
    By Semple1 in forum EduGeek Shutdownertron
    Replies: 1
    Last Post: 24th November 2009, 10:36 PM
  4. Server 2003, NTBackup and Scheduled Tasks
    By OutToLunch in forum Windows
    Replies: 5
    Last Post: 23rd October 2009, 03:39 PM
  5. Deploy a scheduled task!
    By Ste_Harve in forum How do you do....it?
    Replies: 2
    Last Post: 14th September 2007, 03:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •