Hangfire Ve .Net/.Net Core Console App ile Currency Reporter

var jobId = BackgroundJob.Enqueue(
() => Console.WriteLine("Fire-and-forget!"));
var jobId = BackgroundJob.Schedule(
() => Console.WriteLine("Delayed!"),
TimeSpan.FromDays(7));
RecurringJob.AddOrUpdate(
() => Console.WriteLine("Recurring!"),
Cron.Daily);
BackgroundJob.ContinueJobWith(
jobId,
() => Console.WriteLine("Continuation!"));
recurringJobManager.AddOrUpdate("CurrencyReporter", () => currencyReporterService.CurrencyReporter(), Cron.Daily);

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store