In a mechanical clock, that’s done with gears: A different set of gears connects the pendulum to the hour hand, the minute hand, and the second hand, so they each move a different, specific amount as it swings.
The night manager, seated at his desk, glanced at the motionless figure alone at the last table, and then with a sigh moved down upon him just as the hour hand crossed the figure three on the big clock.