Only run user cert worker daily

This commit is contained in:
Chase Tucker 2024-05-07 10:05:56 -07:00
parent f5291a2441
commit 7d656961a6

View File

@ -98,11 +98,7 @@ builder.Services.AddQuartz(q => {
q.AddTrigger(opts => opts
.ForJob(userCertJob)
.WithIdentity("Certification training group trigger")
.WithSimpleSchedule(x => x
.WithIntervalInMinutes(10)
.RepeatForever()
)
.StartNow()
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(1, 0))
);
});