unhandled exceptions in timers are swallowed, and they silently kill the timer
wrap the body of your timer code in a try-catch block
More Related Contents:
- Best Timer for using in a Windows service
- Windows service with timer
- Windows Service to run a function at specified time
- How to let Timer skip tick if the previous thread is still busy
- Elevating process privilege programmatically?
- Calculate the execution time of a method
- .NET console application as Windows service
- How can I verify if a Windows Service is running
- How do you retrieve a list of logged-in/connected users in .NET?
- How to install a windows service programmatically in C#?
- Where is the WPF Timer control?
- Windows Service to run constantly
- How can a Windows Service start a process when a Timer event is raised?
- Using Process.Start() to start a process as a different user from within a Windows Service
- How to make a call to my WCF service asynchronous?
- Wait some seconds without blocking UI execution
- .NET, event every minute (on the minute). Is a timer the best option?
- Starting a process with credentials from a Windows Service
- FileSystemWatcher Fails to access network drive
- How do I debug Windows services in Visual Studio?
- System.Drawing in Windows or ASP.NET services
- Impersonate user in Windows Service
- WIX service installer overrides service Installer settings
- Redirect stdout+stderr on a C# Windows service
- How do I pass an object into a timer event?
- How to get current windows username from windows service in multiuser environment using .NET
- Updating UI in C# using Timer
- What is the simplest way to run a timer-triggered Azure Function locally once?
- What’s the best way to watchdog a desktop application?
- what is the maximum time windows service wait to process stop request and how to request for additional time