Thanks this fixed.
That's enough for now :) We don't have much time. I am closing this issue, if i need further assistance, i can open a new thread. Thank you.
I am not clearly understand the concept of the jobkey and its integration with abp forgive me.
.WithIdentity(nameof(MyWorker)) is this enough for my case?
JobDetail = JobBuilder.Create<MyWorker>()
.WithIdentity(nameof(MyWorker))
.Build();
Trigger = TriggerBuilder.Create()
.WithIdentity(nameof(MyWorker))
.WithDailyTimeIntervalSchedule(
builder => builder.StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(0, 1))
.EndingDailyAfterCount(1))
.Build();
Ok i found it,
Below line should be in Host project, should not be in Domain project. [DependsOn(typeof(AbpBackgroundWorkersQuartzModule)
Thanks.
Quartz specifies the job identity as GUID itself. So why we need to supply it explicitly?
You are right, i added extra registiration with below line of code: context.AddBackgroundWorker<MyQuartzWorker>(); When we remove this, repeated registration problem is gone.
But there is another problem going on: When we start Host project with separated IdentityServer project, now it runs 2 times :( IdentityServer project registers the Quartz again. How is this possible? IdentityServer project includes reference to Domain project, maybe this can cause this.
Thanks for your helps
Hello @liangshiwei,
I reproduce the problem in 2.6.2. I have a sample project. How can i share it to you?
Thanks.