This is all done by the Arduino and some python coding.
Step 1: Get the Parts
-5V DC Relay
-1N004 Rectifier Diode
-2N2222 NPN Switching Transistor
-CAT5e Wall Jack
PLEASE READ THIS:
Please note that to turn on and off the alarm clock you need one that you would normally turn on and off with a switch. You should NOT use an alarm clock that requires you to press a switch to turn it on and press a button to turn it off.