Sounds like a Windows service might work; it would run continuously in the background, after you create the service you can start and stop it through Control Panel > Administrative Tools > Services, and you can set it to start automatically when the server reboots. Google ".net windows services" for more info.