<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatically Restart Crashed Apps</title>
	<atom:link href="http://cybernetnews.com/automatically-restart-crashed-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://cybernetnews.com/automatically-restart-crashed-apps/</link>
	<description>Technology News</description>
	<lastBuildDate>Sun, 22 Nov 2009 06:53:50 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146565</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 22 Jan 2009 23:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146565</guid>
		<description>&lt;div class=&quot;commentquote&quot;&gt;&lt;a href=&quot;#comment-146546&quot; rel=&quot;nofollow&quot;&gt;M1ke wrote:&lt;/a&gt;&lt;blockquote&gt;What if Application Monitor crashes? :P &lt;/blockquote&gt;&lt;/div&gt;
Well, you&#039;re screwed.

&lt;div class=&quot;commentquote&quot;&gt;&lt;a href=&quot;#comment-146555&quot; rel=&quot;nofollow&quot;&gt;Ian Cammarata wrote:&lt;/a&gt;&lt;blockquote&gt;Why? Most programs that are worth running are either stable enough to not need this, or run as a service and recover on their own.  The only thing I can think of that this would work on is some game servers, but even this wouldn’t fix those occasions where the server hangs and the process doesn’t ever get killed.&lt;/blockquote&gt;&lt;/div&gt;
Yes and no. I&#039;ve had some BitTorrent applications crash on me when dealing with extremely large files. And it&#039;s frustrating to have left it alone to download for an entire day, just to realize later on that it crashed shortly after starting.

&lt;div class=&quot;commentquote&quot;&gt;&lt;a href=&quot;#comment-146557&quot; rel=&quot;nofollow&quot;&gt;Deadlock wrote:&lt;/a&gt;&lt;blockquote&gt;Here’s a simple shell-script which does virtually the same.&lt;/blockquote&gt;&lt;/div&gt;
Nice script... thanks for the info.</description>
		<content:encoded><![CDATA[<div class="commentquote"><a href="#comment-146546" rel="nofollow">M1ke wrote:</a><br />
<blockquote>What if Application Monitor crashes? <img src='http://cybernetnews.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  </p></blockquote>
</div>
<p>Well, you&#8217;re screwed.</p>
<div class="commentquote"><a href="#comment-146555" rel="nofollow">Ian Cammarata wrote:</a><br />
<blockquote>Why? Most programs that are worth running are either stable enough to not need this, or run as a service and recover on their own.  The only thing I can think of that this would work on is some game servers, but even this wouldn’t fix those occasions where the server hangs and the process doesn’t ever get killed.</p></blockquote>
</div>
<p>Yes and no. I&#8217;ve had some BitTorrent applications crash on me when dealing with extremely large files. And it&#8217;s frustrating to have left it alone to download for an entire day, just to realize later on that it crashed shortly after starting.</p>
<div class="commentquote"><a href="#comment-146557" rel="nofollow">Deadlock wrote:</a><br />
<blockquote>Here’s a simple shell-script which does virtually the same.</p></blockquote>
</div>
<p>Nice script&#8230; thanks for the info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deadlock</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146557</link>
		<dc:creator>Deadlock</dc:creator>
		<pubDate>Thu, 22 Jan 2009 08:32:23 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146557</guid>
		<description>Here&#039;s a simple shell-script which does virtually the same.
Choice.exe from NT/W2K/W2K3-Ressource Kit is needed.

@echo off

:loop

REM ***
REM *** Start application
REM ***

start /wait notepad.exe

REM ***
REM *** Application ended.
REM *** Give user chance to abort the loop for 30 seconds
REM ***

choice /T 30 /C YN /M &quot;Notepad ended. Restart? (Y in 30 seconds)&quot; /D Y

REM ***
REM *** No choice given or pressed &#039;y&#039;
REM *** Restart application
REM ***

if %errorlevel%==1 goto :loop

REM ***
REM *** Choice &#039;n&#039; given
REM *** Loop ends here
REM ***</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a simple shell-script which does virtually the same.<br />
Choice.exe from NT/W2K/W2K3-Ressource Kit is needed.</p>
<p>@echo off</p>
<p>:loop</p>
<p>REM ***<br />
REM *** Start application<br />
REM ***</p>
<p>start /wait notepad.exe</p>
<p>REM ***<br />
REM *** Application ended.<br />
REM *** Give user chance to abort the loop for 30 seconds<br />
REM ***</p>
<p>choice /T 30 /C YN /M &#8220;Notepad ended. Restart? (Y in 30 seconds)&#8221; /D Y</p>
<p>REM ***<br />
REM *** No choice given or pressed &#8216;y&#8217;<br />
REM *** Restart application<br />
REM ***</p>
<p>if %errorlevel%==1 goto :loop</p>
<p>REM ***<br />
REM *** Choice &#8216;n&#8217; given<br />
REM *** Loop ends here<br />
REM ***</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Cammarata</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146555</link>
		<dc:creator>Ian Cammarata</dc:creator>
		<pubDate>Thu, 22 Jan 2009 03:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146555</guid>
		<description>Why? Most programs that are worth running are either stable enough to not need this, or run as a service and recover on their own.  The only thing I can think of that this would work on is some game servers, but even this wouldn&#039;t fix those occasions where the server hangs and the process doesn&#039;t ever get killed.</description>
		<content:encoded><![CDATA[<p>Why? Most programs that are worth running are either stable enough to not need this, or run as a service and recover on their own.  The only thing I can think of that this would work on is some game servers, but even this wouldn&#8217;t fix those occasions where the server hangs and the process doesn&#8217;t ever get killed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Dobrofsky</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146551</link>
		<dc:creator>Michael Dobrofsky</dc:creator>
		<pubDate>Wed, 21 Jan 2009 23:58:02 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146551</guid>
		<description>&lt;div class=&quot;commentquote&quot;&gt;&lt;a href=&quot;#comment-146546&quot; rel=&quot;nofollow&quot;&gt;M1ke wrote:&lt;/a&gt;&lt;blockquote&gt;What if Application Monitor crashes? :P 

Someone had to say it…&lt;/blockquote&gt;&lt;/div&gt;

There&#039;s an application monitor monitor...ummm, application  :&#124;</description>
		<content:encoded><![CDATA[<div class="commentquote"><a href="#comment-146546" rel="nofollow">M1ke wrote:</a><br />
<blockquote>What if Application Monitor crashes? <img src='http://cybernetnews.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  </p>
<p>Someone had to say it…</p></blockquote>
</div>
<p>There&#8217;s an application monitor monitor&#8230;ummm, application  <img src='http://cybernetnews.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M1ke</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146546</link>
		<dc:creator>M1ke</dc:creator>
		<pubDate>Wed, 21 Jan 2009 20:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146546</guid>
		<description>What if Application Monitor crashes? :P

Someone had to say it...</description>
		<content:encoded><![CDATA[<p>What if Application Monitor crashes? <img src='http://cybernetnews.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Someone had to say it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor V.</title>
		<link>http://cybernetnews.com/automatically-restart-crashed-apps/comment-page-1/#comment-146541</link>
		<dc:creator>Victor V.</dc:creator>
		<pubDate>Wed, 21 Jan 2009 13:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://cybernetnews.com/?p=16145#comment-146541</guid>
		<description>Some years ago I was working on this game server, and sometimes it would crash. However, there was a file in which you would open it by, instead of the .exe, called Restarter.bat, and it would automatically restart it, in case it crashed and closed.

I can&#039;t remember the command, but it&#039;s pretty easy and should be easy to find on Google.</description>
		<content:encoded><![CDATA[<p>Some years ago I was working on this game server, and sometimes it would crash. However, there was a file in which you would open it by, instead of the .exe, called Restarter.bat, and it would automatically restart it, in case it crashed and closed.</p>
<p>I can&#8217;t remember the command, but it&#8217;s pretty easy and should be easy to find on Google.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
