Hi Monie,
There are (as ever) many ways to do this..
As your interrupt routine runs at 50Hz something like

- tick.jpg (10.68 KiB) Viewed 28878 times
as the interrupt routine would increment seconds and minutes (and could be extended to hours etc)
(Note that I've used some modulo arithmetic to avoid the 'if ticks = 50 then secs = secs + 1'... for coding speed - the 'ifs' would probably be slightly more efficient in practice)
Then check if minutes % 5 = 0 and run code whilst it does? (runs whilst minutes ends with 0 and 5 (and not for endings of 1,2,3,4,6,7,8,9))
Note that you may need to extend this to hours etc (ie Hours = Hours + Minutes / 60, Minutes = Minutes % 60)..
I don't know how accurate the frequency of the interrupts is (ie is it exactly 50Hz and stable) - if not then:
As you have a RTC device - can you use this to check the time - or generate an alarm 'interrupt' every 5 minutes? (the DS3232 would allow something like this) (This may allow you to 'sleep' the MCU saving some power.
Or you may use a combination and 'correct' the MCU time from the RTC occasionally?
Martin