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).
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign