|
-
Dec 15th, 2011, 07:41 AM
#1
Thread Starter
Fanatic Member
Run app on server without stopping
I have an application that is on a server running. The way I have it setup is I put it on the Windows Scheduler to run at certain times. We now need to run it constantly on the server. I change the code to put in a loop until I pause or stop it. One issue I have found is that I can kick it off but when I close out of my remote session the application stops.
How do I keep my application to keep running even after I sign out of RDP?
Thanks.
-
Dec 15th, 2011, 07:46 AM
#2
Re: Run app on server without stopping
Depending on what your program actually does, you could turn it into a windows service.
-
Dec 15th, 2011, 08:58 AM
#3
Re: Run app on server without stopping
-
Dec 15th, 2011, 10:32 AM
#4
Thread Starter
Fanatic Member
Re: Run app on server without stopping
Thanks guys. Looks like I have to figure out web services.
I will post if I have more questions.
-
Dec 15th, 2011, 10:44 AM
#5
Re: Run app on server without stopping
Web services are not windows services!!!
-
Dec 15th, 2011, 10:50 AM
#6
Thread Starter
Fanatic Member
Re: Run app on server without stopping
My bad, windows services. Thanks!
-
Dec 15th, 2011, 10:58 AM
#7
Re: Run app on server without stopping
By the way, if you put a busy wait into your loop on a server side app, the sys admin is probably going to skin you alive.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|