Step 1: Place your impulse command block.
Step 2: Copy and paste the following command into the command block.
Step 3: Set the command block to "Always Active".
Step 4: Exit the command block interface.
Voilà! You now have a spawner that replaces the command block. It will spawn some of my bosses that i created. Good luck!