Hi

if your talking about how to check if  a service is running, there are a lot
of options.

you can do net start : this will list all running services,
so you can search for the one you need, and if not found
start it by net start <service name>

or create a .NEt program that does this, also possible.


with kind regards
Ruben Willems

On Thu, May 7, 2009 at 9:44 PM, Murthy <[email protected]> wrote:

>
> Hi All,
>
> I developed Continuous integration for webapplication project
> on .net with cruiscontrol.net(ccnet) , Msbuild, Nunit, Robocopy and
> also using SVN checkout.
>
> I want to check whether my database server (My Webapplication DB
> server) is started or not before Nunit test case execution. If it is
> not started i want to start the DB server service.  Is there any way
> to verify& start database server.
>
> Is Msbuild script can start database server?
>
> Is Nant script can start database server?
>
> If any one have an idea how to do, please share with me.
>
> Thanks In advance.
>
>
> Regards,
> Sreeram
>
>

Reply via email to