Copy link to clipboard
Copied
I have a request to make 15 timers in Coldfusion so that a user can run 15 tests and set each test on its own timer and have it notify him through email when he needs to check the test and also email him when the test is finished. He wants to be able to input the times when he needs to be notified. Any ideas how to develop this application?
Thanks,
Tony
Copy link to clipboard
Copied
Which part of it are you stuck on? How far have you got?
--
Adam
Copy link to clipboard
Copied
I dont know where to start.... Do I need to use something like this? I think this just times the page load speed.
<!--- Setup timing test --->
<cfset iterationCount = 3000>
<!--- Time an empty loop with this many iterations --->
<cfset tickBegin = GetTickCount()>
<cfloop Index = i From = 1 To = #iterationCount#></cfloop>
<cfset tickEnd = GetTickCount()>
<cfset loopTime = tickEnd - tickBegin>
<!--- Report --->
<cfoutput>Loop time (#iterationCount# iterations) was: #loopTime#
milliseconds</cfoutput>
Copy link to clipboard
Copied
I'd be looking at writing one timer and using it 15 times instead of writing 15 timers.