It's a function that configures ten timers to call itself. So it causes an exponential number of timers to be set.
Thats not the bug though. Can do it without a loop as well. This was an old version, check the other one I posted here in this thread.
Ok. I would be very grateful for an explanation, then. ;-)
It creates 10 copies of an alarm on the same date with a setting to repeat twice. So I imagine 10 alarms firing at the same time is not a good idea. I don't see where it calls itself like other people are saying.