System.Timer!
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi All, I have a Win Svc (.net) running on my server. At midnight I need to
do some manipulations....how can I invoke a timer at midnight?
Right now I have plugged in the ElapsedEvent which is being called every 30
seconds inside it I check for datetime whether its midnight or not...
Kindly throw some smart suggestions!!!
TIA
.
Relevant Pages
- Re: Config File for remoting.
... > In a callback from server I call Invoke method. ... > If I set a timer in the in the callback - the timer is never ticked(I ... > So now I call the invoke - which sets the timer and on the timer tick I ... (microsoft.public.dotnet.framework.remoting) - Re: Client callback adding items to databound collection = crossthread error
... // the server ... // SynchronizationContext earlier in the service's Ctor, ... My client passes an EventShim with a callback to the server. ... How do I invoke a delegate on the UI thread without having ... (microsoft.public.dotnet.languages.csharp) - Re: Event Registration failure
... Sounds like possibly a COM+ configuration error. ... component that implements your timer as a COM+ component and enabled ... I would dump the COM+ package from your dev server ... > components to be activated on the same folder in the public folder store. ... (microsoft.public.exchange.development) - Re: timer and threading help needed
... running and you could tie your timer to that easily, ... My original C# app tuned a receiver over an RS232 port and the receiver ... buffer out over another socket back to the client. ... I have been unable to run my C# app on a win2003 server. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: Timer / UI thread issue
... the timer checks every 20 seconds a website to pull information ... Dim CurrentDates As New List(Of DateTime) ... you tried logging the time spent in the invoked procedures? ... How long does the Invoke call take? ... (microsoft.public.dotnet.languages.vb) |
|