Noob simple question (program run to fast)

Hello BigMinds People

Can you tel my how to run loop once per RTC minute

20:00 --> program do the loop . stop ---> 20:01 ---> program do the loop . stop

I need a code example :( becaous im not good in programing.

So you have code that does not stop. Where is it?

But a lot of options. Probably the best, save the fact you already did it ;) That's why you have variables.

if (theCurrentMinute != thePreviousMinute)
{
  //do stuff
  thePreviousMinute = theCurrentMinute;
}