On startup, start loop at beginning of next minute

Perhaps if you could provide the code you have now, the rest of the solution might present itself.