Last post Nov 29, 2018 05:22 PM by megh1207
Nov 28, 2018 12:51 AM|megh1207|LINK
I am trying to figure out a way to maintain my daily schedule jobs which suppose to run midnight everyday and there are few jobs that run during the weekends. I want to maintain all those jobs from one place, I was looking into Quartz.net using "AdoJobStore"
but due to very tight deadline I didn't have time to understand this.
please suggest me what is the best way to maintain and create new schedule jobs in enterprise applications.
Nov 28, 2018 07:50 AM|Mikesdotnetting|LINK
If you have access to the server, you can create a console application that performs the task, and then use Windows Scheduler to get it to run when you want. If you don't have access to the server, you can use Quartz.NET, Hangfire.IO, Azure jobs (https://azure.microsoft.com/en-gb/services/scheduler/)
or some other third party job management system.
Nov 28, 2018 04:53 PM|megh1207|LINK
thank you for your replay, that's what we are doing using console application but we want to create one application to handle all jobs and provide webapi interface to interact with jobs.
Nov 29, 2018 11:36 AM|yogyogi|LINK
Why don't you create APIs to do your job. Once api is live then you will get APIs enpoints which are URL that can be implemented in HTTP like:
1, 2, 3 are the job id's which you will get in the web api C# method. And then in that method you add your custom logic of what the job has to do.
I think if you are just starting then it will take at least 3 days to complete this API job as you have to start from the very beginning.
Nov 29, 2018 12:12 PM|Divya123Divya|LINK
In this what you can do is you can create a console application that performs the task if you have access to the server, and then use Windows Scheduler to get it to run anytime.
Nov 29, 2018 04:34 PM|megh1207|LINK
thank you for your suggestion I will give it a try.
Nov 29, 2018 05:22 PM|megh1207|LINK
we are already running like this, now I found better way to mantain my 20+ daily schedule jobs.