Doubts about creating a timer

Please help me create a time counter code.
For example I set an action on the desktop and I want to repeat it every 10 minutes for 100 or more.
How to create a time interval and with X REPEATS?

Do you use Windows? If so, see How-to: Windows Task Scheduler, Automate RPA tasks