How to restart service

Hey guys
I am making a service in VS2010 using c++ and want to know is there any way to restart the service after a particular time,actually i will let user to write restart time in an INI file and service should be able to restart at that time.
Hi,
write another service which controls the main service. This control service reads the configuration and restarts the main service on demand.
Topic archived. No new replies allowed.