Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

scheduling to restart


  • Please log in to reply

#1
hulud

hulud

    Member

  • Member
  • PipPipPip
  • 268 posts
is there a way to set a scheduled task to restart the machine every day at 5am? i have looked for tit and not been able to find it... we keep having to restart the machine when i come in and the people off site depend on it for connectivity to the network, so i am hoping that i can set it to automatically restart at a given time as this usually seems to fix the problem.

thanks :tazz:
  • 0

Advertisements


#2
dsenette

dsenette

    Je suis Napoléon!

  • Community Leader
  • 26,047 posts
  • MVP
you can create a batch file with the command

shutdown -r

and then schedule that batch file
  • 0

#3
hulud

hulud

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 268 posts
cool i saved "restart.bat" with just the command shutdown -r and scheduled it to run every day at 5am. that sound right? thanks for your help.
  • 0

#4
dsenette

dsenette

    Je suis Napoléon!

  • Community Leader
  • 26,047 posts
  • MVP
i would test the batch file first...just double click it...or save it to your c: drive and do run restart.bat
  • 0

#5
hulud

hulud

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 268 posts
ok, it worked on my xp machine, but apparantly "shutdown" isnt a valid 2000 dos command?
  • 0

#6
dsenette

dsenette

    Je suis Napoléon!

  • Community Leader
  • 26,047 posts
  • MVP
hmm..it should be...
  • 0

#7
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
only with the resource kit installed.

download pstools

http://www.sysintern...es/PsTools.html

there is a shutdown tool for the commandline in it
  • 0

#8
hulud

hulud

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 268 posts
thanks for your help guys, i think the file is now fixed!
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP