Changed job fire-time from 1min to 5min intervals

This commit is contained in:
Khwezi Mngoma
2026-05-15 22:01:48 +02:00
parent 4b8aecc779
commit e19f98e7ca
+1 -1
View File
@@ -7,7 +7,7 @@ namespace LiteCharmsScheduler.Workers
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 0/1 * * * ?", stoppingToken);
await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 */5 * * * ?", stoppingToken);
logger.LogInformation("Startup jobs scheduled");
}