How to automate multiple Cannons shooting?

The thread

seems relevant. Or just separate the objects of an Array modifier(after you apply?) and randomly move all keyframes of some objects (in this case objects=animated cannons).
I am not sure about the result though.