Open following links to identify timer and download manual:
http://waterheatertimer.org/Intermatic-timers-and-manuals.html#GMGM40 can be used for 120V or 240V 277V applications for single-phase and some 3-phase applications.
For 120Volt, set all 4 dip switches to ON position BEFORE applying power.
ON position is pushed to left.
120Volt cable from breaker box has black hot and white neutral wire.
Black hot typically connects to terminal L1
White neutral connects to terminal L2/N
This action will power the time clock and relays.
Other terminals on GM40 are the relay terminals, and these terminals are dry.
Dry means they receive no power when wires are connected to L1 and L2/N.
There are two independent relays and each relay has 3 terminals: NC NO and COM.
If you are controlling one 120volt Load, then use one relay.
Run a jumper wire from terminal L1 to COM terminal.
So COM terminal is connected to Hot.
Cable going to 120V Load has black and white wire.
Connect black Load wire to terminal NO (normally open).
Connect white Load wire to L2/N.