<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1742898.aspx</link><pubDate>Thu, 07 Jun 2007 03:07:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1742898</guid><dc:creator>GarF1eld!</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1742898.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1742898</wfw:commentRss><description>&lt;p&gt;I have not rights to use windows servieces in my web application. &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got useful link: &lt;a href="http://west-wind.com/weblog/posts/67557.aspx"&gt;http://west-wind.com/weblog/posts/67557.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope, it helps&lt;img src="http://forums.asp.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1741016.aspx</link><pubDate>Wed, 06 Jun 2007 02:04:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1741016</guid><dc:creator>Sarvis</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1741016.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1741016</wfw:commentRss><description>If you just need to read emails from a remote account you could write the windows service and run it from your local machine, it would just connect to the remote server and grab the email.</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1741009.aspx</link><pubDate>Wed, 06 Jun 2007 01:57:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1741009</guid><dc:creator>Hong-Gang Chen - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1741009.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1741009</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;GarF1eld!:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;What I gonna do if I haven&amp;#39;t rights to use my windows servise on the remoted server. Becides, I don&amp;#39;t know how to create windows service and how is it works.&lt;/p&gt;
&lt;p&gt;hosting is on godaddy.com&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:120%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="2"&gt;Hi GarF1eld,&lt;br /&gt;I suggest you to try use windows service in your project, to know windows service, see this link: &lt;a href="http://www.codeproject.com/dotnet/simplewindowsservice.asp"&gt;http://www.codeproject.com/dotnet/simplewindowsservice.asp&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:120%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;br /&gt;Also I suggest you try to use Thread or ThreadPool in your project.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;To know Thread or ThreadPool, please visit the following URLs: &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/system.threading.thread.currentuiculture.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.threading.thread.currentuiculture.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/system.threading.threadpool(vs.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.threading.threadpool(vs.80).aspx&lt;/a&gt; &lt;/p&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:120%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="2"&gt;Additionally, you had to writing a closed-loop method to check e-mail. and you can try the following code to solve your problems,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:120%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;br /&gt;while(true)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckMail();&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thread.Sleep(2000);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;}&lt;/p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#a6a6a6;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#a6a6a6;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/i&gt; 
&lt;p&gt;&lt;br /&gt;Hope it helps,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Hong Gang&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1740777.aspx</link><pubDate>Tue, 05 Jun 2007 21:11:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1740777</guid><dc:creator>KyD</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1740777.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1740777</wfw:commentRss><description>&lt;p&gt;Have you considered an auto-refresh of the form?&amp;nbsp; Is that an option?&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1735048.aspx</link><pubDate>Fri, 01 Jun 2007 12:34:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1735048</guid><dc:creator>GarF1eld!</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1735048.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1735048</wfw:commentRss><description>&lt;p&gt;What will happen If I create web service and a web method there, which runs itself  bebore ending? What problems I could have?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1734464.aspx</link><pubDate>Fri, 01 Jun 2007 04:22:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1734464</guid><dc:creator>GarF1eld!</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1734464.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1734464</wfw:commentRss><description>&lt;p&gt;What I gonna do if I haven&amp;#39;t rights to use my windows servise on the remoted server. Becides, I don&amp;#39;t know how to create windows service and how is it works.&lt;/p&gt;&lt;p&gt;hosting is on godaddy.com&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1734012.aspx</link><pubDate>Thu, 31 May 2007 19:38:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1734012</guid><dc:creator>KyD</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1734012.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1734012</wfw:commentRss><description>&lt;p&gt;I agree with tmmycat because it does not make sense to put it in a web form.&lt;/p&gt;
&lt;p&gt;You can also use the Windows Task Scheduler.&amp;nbsp; &lt;a href="http://support.microsoft.com/kb/308569"&gt;http://support.microsoft.com/kb/308569&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: continious script</title><link>http://forums.asp.net/thread/1733999.aspx</link><pubDate>Thu, 31 May 2007 19:30:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1733999</guid><dc:creator>tmmycat</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1733999.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1733999</wfw:commentRss><description>&lt;p&gt;Sounds like a Windows service might work;&amp;nbsp;it would&amp;nbsp;run continuously in the background, after you create the service you can start and stop&amp;nbsp;it through Control Panel &amp;gt; Administrative Tools &amp;gt; Services, and you can set&amp;nbsp;it to start automatically when the server reboots.&amp;nbsp; Google &amp;quot;.net windows services&amp;quot; for more info.&lt;/p&gt;</description></item><item><title>continious script</title><link>http://forums.asp.net/thread/1733953.aspx</link><pubDate>Thu, 31 May 2007 18:45:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1733953</guid><dc:creator>GarF1eld!</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1733953.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1733953</wfw:commentRss><description>&lt;p&gt;&amp;nbsp; I have a script, which checks email. I need to make this script
running continuously. How can I do it, that the server has not killed
it. And how can I start it? And what I must to do that start script
again if server reboots?&lt;/p&gt;</description></item></channel></rss>