General information
Category:
Coding, syntax & commands
Title:
Timer Interval Accuracy
How accurate is the Interval property in a timer control? For example:
I've inherited a Job Scheduler. The data table contains the time the job is supposed to run. The timer interval is 60000 (every minute). It calls a method in a class which looks at the Hour and Minute of DATETIME() and compares it to the Hour and Minute of the job record. If there is a match, it will spawn the job.
What are the chances that the timer could get called at (for example) 11:59:59 and then get called again at 12:01:01 and bypass anything set for 12:00?
In other words, what is the range/likelihood of intervals when the property is set at 60000? Does the workload on the computer have any effect on this?
Thanks........Rich
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only