Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am implementing an asp.net application where users will be able to schedule tasks on specific dates and times so I decided to use Quartz.net as a windows service. The user can add, edit or delete scheduled tasks so the triggers for the jobs should not be specified in the code behind but being available to modified by the end user. Is that possible with Quartz.net? I couldn’t find any similar examples.

What I have tried:

I managed to schedule the tasks by creating Quarts jobs with triggers within the code. However, that is not what I want, the user should be able to add and edit the scheduling times from the web application so I cannot set the triggers within the code.
Posted
Comments
Member 10398773 24-Feb-16 2:11am    
You can save the different timings on sql database and read the timings directly from the db.what will happen is that you will just be comparing the time user has set in db with the current datetime of the machine where the windows service is installed.So your windows service can pick a list of timings from database and enumerate each record comparing whether the date is greater than or equal to current datetime

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900