Server load with specific task

Hi, i’m trying to build a backend job for my system integrated with hangfire
the problem that i encountered are hangfire server will process all of the task within the database that have not been run yet.

I plan to install 2 server with the separation of job like :

  1. Sending emails
  2. Generating data

is it possible to achieve this type of environment with hangfire server without mixing the job load to the other server?

Unless I am missing the point of your question I think you are looking for the Queue feature. I.e. where you can schedule a job on a specific queue and have 1 appserver for Queue1 and another for Queue2.