I don't know electrical codes... but it stands to reason that you would want the contactor downstream of all of the breakers.
The good news is, from that point, you could do an infinitely-configurable timer, remote on/off, etc.; all that comes with Z-wave control rather than just using a timer.