How to use Hangfire with hosted service?

I have a simple HostedService. I need to run some tasks by time. How can I use Hangfire in Memory if I don’t have WebHost?

My Program.cs
public static Task Main()
var hostBuilder = new HostBuilder()
.ConfigureAppConfiguration((hostContext, config) =>
.AddJsonFile(“appsettings.json”, optional: false, reloadOnChange: true)
.ConfigureServices((hostContext, services) =>

	return hostBuilder.RunConsoleAsync();

How to configure Handfire and where I can run
RecurringJob.AddOrUpdate(() = Console.WriteLine("Transparent!"), Cron.Daily);