Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hi i have this search application that runs on my server. it indexes web pages and provides a search server for me to query the results. Kinda like GSA but free.

i have to restart the search server occasionally. the problem is this search server is started by admin account(it gets started with task scheduler). i can remote into it with my own account and start the search server. but as soon as i log out, the search server would close. i need to keep the search server running indefinitely.

what is the best way to deal with this situation?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You could try having an admin create a Windows service for it using the sc command. Then the service manager mechanisms for restarting the process and whatnot would be available. Have a look here.

share|improve this answer
    
damn good stuff –  Funky Dude Aug 7 '12 at 21:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.