A
archana
Hi all
I am having application which is using server based timer that is timer
from namespace system.timer.
I am having windows service which i want to run everyday at some fix
time.
In service.cs class i am creating one worker thread and in thread
procedure i am enabling one timer after thread procedure is completed
and in timer's elapsed event i am recalling my function of actual
processing.
But even if i set interval as 24 hours my code is sometime running
continuously.
Can some one tell me why thisis happening. Or can't i start timer in
thread procedure at the end of thread procedure.
Please help me.
thanks in advance,
I am having application which is using server based timer that is timer
from namespace system.timer.
I am having windows service which i want to run everyday at some fix
time.
In service.cs class i am creating one worker thread and in thread
procedure i am enabling one timer after thread procedure is completed
and in timer's elapsed event i am recalling my function of actual
processing.
But even if i set interval as 24 hours my code is sometime running
continuously.
Can some one tell me why thisis happening. Or can't i start timer in
thread procedure at the end of thread procedure.
Please help me.
thanks in advance,