You have a stop timer building block.
So this is what I would do (follwoing your logic):
1) Check the time and calculate the amount of seconds until midnight
2) Fire a timer with this amount of seconds
3) Once the timer "fires" use the exit of the timer (with the timer ID) to trigger 2 new process:
a) a process that will kill the timer (using the stop timer building-block and the timer ID)
b) A Wait process that will be activaed every 24 hours
I think the above should work just fine (at least as long no one is changing the server time).
For best results, use the Firefox browser..