J
John Wright
I have a backgroundworker thread that I need to check some data for me every
6 hours or so. I can start the thread and do the check with great success,
but I only need this thread to check every six hours. I tried the timer
control, but that is clumbsy. I was wondering if I should use the thread to
keep track of the system time and subtract the time from last check and when
it hits 6 hours or greater run the process, or is there a better way? I
really don't want this thread just processing time when it is not needed.
Any suggestions?
John Wright
6 hours or so. I can start the thread and do the check with great success,
but I only need this thread to check every six hours. I tried the timer
control, but that is clumbsy. I was wondering if I should use the thread to
keep track of the system time and subtract the time from last check and when
it hits 6 hours or greater run the process, or is there a better way? I
really don't want this thread just processing time when it is not needed.
Any suggestions?
John Wright