Can I use a Timer in a .Net Windows Service that I create?
Like, you can't use an interface (you can if you're tricky), but is a timer okay?
My On_Start Event is empty because I have a timer that is suppose to fire every minute, but it doesn't, and I've NFI why.![]()
Enabled is True and interval is 60000.
There are no errors in the event log. Nothing happens. I know it doesn't fire because I write to the event log in timer tick event so I'll know when it fires. It just doesn't fire.
Are Timers allowed in an NT Service? I thought they would be integral considering the nature of services.




Reply With Quote