How do I create more than one timer in one single script?
I use the following commands in my script:
SetTimer()
StartTimer()
OnTimer()
I want to have an event every two hours and one that goes on once per day?
on the event OnTimer you count from 1 to 24, if you reach 24 you send msg2.
you can check phatty's multitimer example on how 2 do it.
if you want 2 trigger something 1x a day and then around midnight you can use the change of date.
plop