Scheduling a job on a specific Queue

I’ve recently updated to the newest version of Hangfire and noticed that the Queue property of RecurringJobOptions has been marked as Obsolete. However, in the AddOrUpdate method of RecurringJobManager, which schedules recurring jobs on specific queues, this property is still being used internally. Shouldn’t it be referencing job.Queue instead of options.QueueName? Am I missing something here? Furthermore, is there an upcoming plan to remove the capability to schedule jobs on specific queues altogether?

#pragma warning disable 618
recurringJob.Queue = options.QueueName;
#pragma warning restore 618

Sounds similar to an issue I had. Check out the solution on GitHub.

Thanks for the pointer. I will test it out. I can swear that original code was identical to yours… maybe I am getting too old :joy: