c# - How often is WindowsServiceBase.Tick() called in an EWL Windows Service? -
i have determined have intense operations shouldn't occur in context of web request in ewl web application. see ewl supports running windows service perfect running intense operations in background without tying web request threads , forcing users wait.
i point need implement void windowsservicebase.tick()
don't see how tick()
called. how tick()
called default , configurable?
i see source windows service sends "health check" email before calling tick()
. what's thinking behind this? if don't want email spammed these emails?
the code in servicebaseadapter
cryptic, looking can see tick
called 10 seconds after init
completes and, on, 10 seconds after lastly tick
phone call completes.
the health check email go out shortly after midnight every day. it's designed allow know service still alive.
c# asp.net windows-services background-process enterprise-web-library
No comments:
Post a Comment