I need a service always running for migration of data from a web server to local server. I have written the service and am able to start and stop the service from another windows application.

I have written both the programs separately. i.e. one is windows service application and another is the windows application in C#.NET 2003. The windows application is for scheduling the timings of migration. If i want to change the schedule of migration i.e. if i want to reschedule my migration timings, how can i set the schedule in the Service application from my windows application?

Is there any way to declare static variables directly in the class file of the Service application and set them from windows application directly (Just the way we call the start and stop methods of service, can I set any properties of the Service so that the service continues to run with the newly set properties)?

Thanks and regards