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.
Re: Run app on server without stopping
Depending on what your program actually does, you could turn it into a windows service.
Re: Run app on server without stopping
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.
Re: Run app on server without stopping
Web services are not windows services!!!
Re: Run app on server without stopping
My bad, windows services. Thanks!
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.