<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<STYLE>@font-face {
        font-family: Wingdings;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=798424900-19022008><FONT face=Arial 
color=#0000ff size=2>Becki,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=798424900-19022008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=798424900-19022008><FONT face=Arial 
color=#0000ff size=2>I cannot help you with Windows unfortunately.  If it 
helps what we typically do is have a script triggered in hobbit-alerts.cfg to 
ssh to the problem host and execute a script or command on the remote host 
(UNIX).  </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=798424900-19022008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=798424900-19022008><FONT face=Arial 
color=#0000ff size=2>There are reasons to do this.  The primary reason 
being we like sleeping instead of waking up in the early AM to login and execute 
the command manually.  The script on the server also creates a report that 
is sent to all interested parties that something has been restarted or some 
action has been taken.  We like to call the process automated.  
</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=798424900-19022008><FONT face=Arial color=#0000ff size=2>You 
just have to be careful, that it works and consider what could go wrong.  
Like in your case, your script goes awry and you end up continously 
rebooting.  You also would have to consider, what if the reboot fails, and 
what alarms will be created when the host is rebooted.  
</FONT></SPAN></DIV>
<DIV><SPAN class=798424900-19022008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=798424900-19022008><FONT face=Arial color=#0000ff size=2>Sorry, 
I couldn't be more help.</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2><SPAN class=798424900-19022008>~</SPAN>David</FONT></P>
<P><FONT size=2></FONT><BR> </P>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Rebecca Henderson 
  [mailto:rebecca_henderson@link.freedom.com] <BR><B>Sent:</B> Monday, February 
  18, 2008 21:27<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] 
  windows question<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is it possible to schedule a 
  windows reboot command through hobbit? See below<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">C:\WINDOWS\system32\shutdown.exe/r/f<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I need to run this command on a 
  few servers every night and send emails to operations, “email” which I finally 
  got working </SPAN></FONT><FONT face=Wingdings size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings">J</SPAN></FONT><FONT 
  face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any information would be 
  appreciated.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks!<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Becki<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>