* Maintain FaKrosno api to handle Hangfire

* Added checking of missing EdiCo based on EdiCoTranslate and send email every 30 minutes
* Added Admin Scheduler view
This commit is contained in:
2025-02-14 08:46:56 +01:00
parent e7342abadd
commit c0fed5b3ec
38 changed files with 446 additions and 221 deletions

View File

@@ -0,0 +1,17 @@
using FaKrosnoApi.Services;
using Microsoft.AspNetCore.Mvc;
namespace FaKrosnoApi.Controllers;
[ApiController]
[Route("[controller]")]
public class ScheduleJobController(IScheduleJobService scheduledJob) : ControllerBase
{
[HttpPost("start")]
public IActionResult StartJob()
{
scheduledJob.ExecuteAsync();
return Ok("Job started");
}
}