How to set up Spawn system?

Well basically I need Ai to spawn during those 2 min and after that it will not spawn for 1 min. 1 min pause is where you build in the game to protect yourself for the next wave. Hope you understand. However if you have simpler solution I would like to hear it.