This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using LiteCharms.Abstractions;
|
||||
using LiteCharms.Features.Notifications.Events;
|
||||
using LiteCharms.Features.Quartz.Abstractions;
|
||||
using LiteCharms.Features.Shop.Notifications.Events;
|
||||
|
||||
namespace LiteCharmsScheduler.Workers
|
||||
{
|
||||
@@ -7,7 +7,7 @@ namespace LiteCharmsScheduler.Workers
|
||||
{
|
||||
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
||||
{
|
||||
await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 1 * * * ?", stoppingToken);
|
||||
await jobOrchestrator.ScheduleAsync(ProcessEmailNotificationsEvent.Create(), "0 0/1 * * * ?", stoppingToken);
|
||||
|
||||
logger.LogInformation("Startup jobs scheduled");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user