0
This is my problem. I have an application as a windows service that needs to run 15 seconds after the current job execution is finished.
The task basically performs database operations and may be that the execution takes longer than 15 seconds, hence the problem.
My code to determine the execution interval is like this:
worker = new Timer(new TimerCallback(saveFiles), null, 0, interval);