Added Hangfire with LiteDB for a task running system. At the most basic, this allows us to monitor tasks running on the system (during dev only) and run tasks on a reoccuring or ad-hoc basis.
This commit is contained in:
parent
e1c1719b6a
commit
4fd9943b91
22 changed files with 69 additions and 43 deletions
17
API/Services/TaskScheduler.cs
Normal file
17
API/Services/TaskScheduler.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using API.Interfaces;
|
||||
using Hangfire;
|
||||
|
||||
namespace API.Services
|
||||
{
|
||||
public class TaskScheduler : ITaskScheduler
|
||||
{
|
||||
private readonly BackgroundJobServer _client;
|
||||
|
||||
public TaskScheduler()
|
||||
{
|
||||
_client = new BackgroundJobServer();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue