Long running background job only once

Tags: #<Tag:0x00007fafeef30458> #<Tag:0x00007fafeef30390>

I want to use hangfire to start a long running process (consumer of rabbitmq). I used BackgroundJob.Enqueue and it works fine so far. But when the web application is restarted the job gets enqueued a second time and so on. Is there a better solution?