Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer Interval Accuracy
Message
From
20/03/2007 20:48:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Timer Interval Accuracy
Miscellaneous
Thread ID:
01206333
Message ID:
01206333
Views:
57
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
Map
View

Click here to load this message in the networking platform