Use a clock to manage processes