Hi Everyone,
Can you tell me if this is the most efficient way to do this?
In a service I created set of timers to start other timers to click every hour on the quarters of the hour (15, 30, 45 past the hour and on the hour).
I created 8 timers in all. For example. 15 past the hour:
A calculation was made to figure when the first occurrence of 15 past the hour would occur. This depended on if the curent time is on 15 past or before 15 past or after 15 past so I would calculate the remaining time needed to start the regular time that will click 1 per hour.
Is there a way to use just one timer for 15 past, and 1 timer for 30 past etc.?
Maybe I can eliminate timers all together if B4A can schedule an alarm to fire an event each hour on the quarters.
Thanks.
Can you tell me if this is the most efficient way to do this?
In a service I created set of timers to start other timers to click every hour on the quarters of the hour (15, 30, 45 past the hour and on the hour).
I created 8 timers in all. For example. 15 past the hour:
A calculation was made to figure when the first occurrence of 15 past the hour would occur. This depended on if the curent time is on 15 past or before 15 past or after 15 past so I would calculate the remaining time needed to start the regular time that will click 1 per hour.
Is there a way to use just one timer for 15 past, and 1 timer for 30 past etc.?
Maybe I can eliminate timers all together if B4A can schedule an alarm to fire an event each hour on the quarters.
Thanks.