Go like clockwork

To progress in a regular and dependable way.

Everything was going like clockwork when suddenly the lights went out.