Seeing as I can’t edit my post (“Body is too similar to what you recently posted”) I will add my edits here.
Hi everyone
I’m currently looking into Hangfire to schedule a lot of recurring jobs (using cron) with. And I have a couple of questions. I will be using the latest version, together with a ASP.NET Core Web API application.
- What way does everyone use to schedule their jobs when their application starts? Does everyone just put a ton of RecurringJob.AddOrUpdate in their StartUp?
- Is there any way to change the scheduling of a recurring job while the application is running?
– I tried adding a rest contract that accepts a jobid and new cron schedule, but there is no method that can just adjust the cron schedule, I always need a reference to the job (this isn’t ideal when you have a lot of jobs)? - Is there any way I can add jobs to an already running application like for example through adding a .dll in a folder somewhere?
- Is there an example application somewhere available that has some advanced scheduling / jobs?
Thank you