can someone please provide a sql script( batch script might be OK, but i would prefer sql script) to do the following:
i) should be able to check the status of sql server/reporting services every 5 mins
ii) if services are stopped , should be able to start the services.
thanks in advance !!!