Ok, thank you for trying.
Other off topic points:
-A while loop stops when the check is false. Ie. you will not have "dummy" iterations after your criteria is satisfied.
-You will not get the Calendar bloated with all the schedules you put in the Time Trigger.