The Simplest Way To Implement a Background Job

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Thank you, I actually needed this. Zer guud

LordErnie
Автор

How can execute only one background service with múltiple pods into kubernetes??? Using redlock?

Rubarez
Автор

Ho Millan. Is it a good practice to define background jobs in a webapi project? Or must it be placed in a console independen dll? Tks

davidpccode
Автор

What's better, backgroundService or IhostedService?

alanevandrobarboza
Автор

Could you please let me know how to make sure it runs in only one instance, and in case of running a second instance, the second one pass its args to the first one and then exit?

I've used mutex and pipeServer but still have problem problem sending the args.

Or maybe there is a better way to achieve this goal?

MAHDIHESARI
Автор

Currently working on writing a background service that cleans up data in db. I want to run the job between certain hours of the day. I don’t want to put it in a Task.Delay() for 20 hours. Any suggestions how to accomplish that?

rooseveltjunior