EquinoxProject icon indicating copy to clipboard operation
EquinoxProject copied to clipboard

Task Scheduling

Open mtugnoli opened this issue 6 years ago • 4 comments

Hi, It would be nice to have a scheduling task system in the next version, best if the list of tasks are stored in db. ex. Send emails,Keep alive, Clear log

mtugnoli avatar May 25 '18 12:05 mtugnoli

I'll do that with HangFire

EduardoPires avatar May 25 '18 23:05 EduardoPires

Have you seen https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/multi-container-microservice-net-applications/background-tasks-with-ihostedservice?

Maybe it is worth going for native EF Core utility classes than third party?

btastic avatar May 28 '18 23:05 btastic

IHostedService is cool but you will still have to deal with all the hassle of managing your tasks. Also, the latest beta version of Hangfire already registers it as a Hosted Service (https://github.com/HangfireIO/Hangfire/issues/962).

lhmiranda avatar Mar 09 '19 03:03 lhmiranda

I was trying it... When researching, found kamil has some words about subject. http://www.kamilgrzybek.com/design/processing-commands-with-hangfire-and-mediatr/

CanMehmetK avatar Mar 09 '20 01:03 CanMehmetK