Microsoft Interview Question

How would I design a scheduler service in distributed environment.