Corrected worker schedules
This commit is contained in:
parent
09e2eb968f
commit
df247bcc86
@ -38,7 +38,7 @@ builder.Services.AddQuartz(q => {
|
|||||||
q.AddTrigger(opts => opts
|
q.AddTrigger(opts => opts
|
||||||
.ForJob(pendingOOOStatusJob)
|
.ForJob(pendingOOOStatusJob)
|
||||||
.WithIdentity("Pending OOO status trigger")
|
.WithIdentity("Pending OOO status trigger")
|
||||||
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(0, 0))
|
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(0, 15))
|
||||||
);
|
);
|
||||||
|
|
||||||
JobKey expiredOOOStatusJob = new JobKey("Expired OOO status job");
|
JobKey expiredOOOStatusJob = new JobKey("Expired OOO status job");
|
||||||
@ -48,7 +48,7 @@ builder.Services.AddQuartz(q => {
|
|||||||
q.AddTrigger(opts => opts
|
q.AddTrigger(opts => opts
|
||||||
.ForJob(expiredOOOStatusJob)
|
.ForJob(expiredOOOStatusJob)
|
||||||
.WithIdentity("Expired OOO status trigger")
|
.WithIdentity("Expired OOO status trigger")
|
||||||
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(10, 52))
|
.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(0, 0))
|
||||||
);
|
);
|
||||||
|
|
||||||
JobKey expiringTECNJob = new JobKey("Expiring TECN job");
|
JobKey expiringTECNJob = new JobKey("Expiring TECN job");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user