A simple clock made of delayers should solve that problem, I guess.
But, however, Astrotech repairing does only repair the block it is firing at, making it useless. You could make them auto-repair the core from a docked entity, though, but a weapon strong enough to break your hulls to achieve...