Long time scheduler in C#

858 views Asked by At

I'm trying to create a project with net core 2.0. Users can create reminders in distant future in my system (the reminder call weapi method in distant future). Reminders save in database (I choose the database now). Nuget-package Quartz.NET can create reminders in future. But what if server will be restarted?
The main idea is : in startup.cs recreate reminders in Quartz.NET. I don't like this idea, because maybe there will be a lot of reminders. Have you got any ideas about how can I do it?

1

There are 1 answers

3
Alex Riabov On BEST ANSWER

Quatrz.net allows you to choose JobStore, so you can restore all your jobs after application restart. Another alternative is to use Hangfire which provides a lot of persistence options out of the box.