[Quick Tip] A job scheduler component for any .NET applicationsSeptember 26th, 2011 | Posted by in .NET | Read: 941
Have you ever wonder how you could use a job scheduler in a .NET application ? Yes, it’s still possible to use workflow to get this behavior but, for some little projects, it might be a quite big technology.
So I’ve found Quartz.NET, which is described as “a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems”.
- Declaring a job (the code that need to be executed)
- Declaring a trigger (which specify when the task need to be executed)
- Indicate when the trigger need to be executed for the first time
- Scheduling the job
So, in a few lines of code:
I strongly recommend that you take a look at this component which is pretty robust and very useful !
Happy coding !