Measuring Elapsed Time
Moderators: JRL, Dorian (MJT support)
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
Measuring Elapsed Time
Do we have a sample macro for measuring elapsed time? I want my macro to see if the last DB query is older than 3 min. before doing another query. Thanks!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use VBScript's Timer function. I'm sure there are examples on this forum as this has been asked before. Also an example in this doc:
http://www.mjtnet.com/loadtesting.pdf
http://www.mjtnet.com/loadtesting.pdf
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?