Question: We need to integrate scheduler in policy management. Now the event is triggered by windows service (for every (x) seconds it can be triggered). Instead of this, the event should be triggered on a particular time. (For e.g.: The event should be triggered every day @5 PM.) Is it possible to achieve this using Quartz scheduler?


Answer: Quartz Scheduler can be used to trigger the events based on time. Refer http://quartznet.sourceforge.net/features.html for more details. You can implement the logic in the Job by inheriting from the IJob interface. For sample code and usage, please refer http://quartznet.sourceforge.net/tutorial/lesson_3.html.