Recurring Hangfire job runs only once

Tags: #<Tag:0x00007fc9084879d8>

I have the problem that scheduled Hangfire jobs that should be carried out every day are switched off as soon as I close the local host.

This is my Code in the HomeController:

public void TriggerFunction() {

    RecurringJob.AddOrUpdate(() => Update(), Cron.Daily());

if I execute localhost/Home/TriggerFunction and then localhost/Hangfire I can see the jobs in the Hangfire overview. As soon as I run the project again and go only to localhost/Hangfire it says: no jobs