clockwork (n.) Look up clockwork at Dictionary.com
1660s, "mechanism of a clock," from clock (n.) + work (n.). Figurative sense of "anything of unvarying regularity" is recorded earlier (1620s).