Only run user cert worker daily
This commit is contained in:
parent
f5291a2441
commit
7d656961a6
@ -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))
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user