MSFN Forum: Reboot every monday on 6am? help! - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Reboot every monday on 6am? help! Windows 2003 server Rate Topic: -----

#1 User is offline   2forza 

  • "everybody was kungfu fighting"
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 14-March 05

Posted 11 August 2005 - 07:13 AM

Hi everone,

Im not good with programming, I know little bit about AutoIT, batches...and how to make installers with WinRAR.


Heres my problem...our server (which is running on Windows 2003) needs to reboot on every monday at 6.00 am.

Can someone make an AutoIT script for me? (or other methods are also welcome)


Otherwise I have to wake up early ... that $%^&*) monday (also a reason why i hate mondays).

forzA,


#2 User is offline   jondercik 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 15-January 04

Posted 11 August 2005 - 07:17 AM

use the built in windows scheduler service to run the shutdown.exe command.

#3 User is offline   2forza 

  • "everybody was kungfu fighting"
  • PipPip
  • Group: Members
  • Posts: 195
  • Joined: 14-March 05

Posted 11 August 2005 - 07:29 AM

jondercik, on Aug 11 2005, 07:17 AM, said:

use the built in windows scheduler service to run the shutdown.exe command.
<{POST_SNAPBACK}>



Thanks for the info!

you mean like shutdown.exe -r -t 604800

:P

And at startup: shutdown.cmd


But theres an annoying windows with the counter

#4 User is offline   Biney59 

  • Group: Members
  • Posts: 6
  • Joined: 02-July 03

Posted 11 August 2005 - 07:35 AM

No, just
shutdown.exe -r
, and set it to run at 6:00 on Mondays.

#5 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,792
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 11 August 2005 - 01:00 PM

Read here:
http://www.ss64.com/nt/schtasks.html

and here:
http://www.ss64.com/nt/shutdown.html
(the use of NET STOP could mean very fast shutdown time)

jaclaz

P.S.: have a look here also:
http://www.robvander...m/shutdown.html
for more hints and alternate utils

This post has been edited by jaclaz: 11 August 2005 - 01:06 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy