Is it possible to pass data to a Windows service?

For example, I want to create a service that run an event at a specified interval, however I want to be able to externally control that interval. Can I write another Windows application that will communicate directly with the service?

Thanks!!