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
|
q.AddTrigger(opts => opts
|
||||||
.ForJob(userCertJob)
|
.ForJob(userCertJob)
|
||||||
.WithIdentity("Certification training group trigger")
|
.WithIdentity("Certification training group trigger")
|
||||||
.WithSimpleSchedule(x => x
|
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(1, 0))
|
||||||
.WithIntervalInMinutes(10)
|
|
||||||
.RepeatForever()
|
|
||||||
)
|
|
||||||
.StartNow()
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user