convert 6 minutes to 30 seconds for relay to go on and off after 2 hr interval

aashish79:
i want to power ON my 1 hp water pump for 30 seconds and then power it OFF after the 30 seconds is up, and start the pump ON again after 2 hours..Please help. My friend wrote the codes for me. He wrote the code so that the pump will be ON for 5 minutes.

Have you any idea on how the code works?. Could you describe it in two paragraphs?

Regards.