set up a one minute timer, a very simple state machine and a one byte counter. From init your in 1min state, do your 1min task, then go to 5 min state which adds on to the one byte counter until it equals 5, then do your 5 min task, repeat .............

What an odd sig you have.