after a lot of tests and search of "Timer" topics I would like to raise my question because of no existing solution. I hope somone can give me a hint

I would like to update a webcam picture at every 15 minutes. First I used timer event, but this is not accurate. Because I would like to update it on e.g. 01:00.00, 01.15.00... The next solution was to put into the EventID-loop a check of the current time (minutes and seconds only) after this check if is e.g. 02:00:00am to perform an action.
Code: Select all
Time$ = FormatDate("%ii:%ss", Date())
If Time$="00:00" Or Time$="15:00" Or Time$="30:00" Or Time$="45:00"
StatusBarText(0, 2, Time$, #PB_StatusBar_Center) ; Statusbar shows last update
endif
All tips and ideas welcome.