Changed job fire-time from 1min to 5min intervals
This commit is contained in:
@@ -7,7 +7,7 @@ namespace LiteCharmsScheduler.Workers
|
|||||||
{
|
{
|
||||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
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");
|
logger.LogInformation("Startup jobs scheduled");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user