I am trying to reproduce or fix this. Thanks. I am in version 2.4.0. I will update the framework and check again.
I am in version 2.4.0.
I implemented QuartzBackgroundWorkerBase for my background worker.
The trigger code is this:
Trigger = TriggerBuilder.Create()
.WithDailyTimeIntervalSchedule(
builder => builder.StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(X, Y)).EndingDailyAfterCount(1))
.Build();
Worker triggers the job one time,
but Execute method runs 3 times even i used [DisallowConcurrentExecution]
attribute for the worker class.
I tried many scheduler combinations, but without success.
What can be the problem? It looks like a threading issue. I don't think the problem is with Quartz framework.
Hi @liangshiwei, Thank you, i choose second :)
I am working with an abp background worker.
When i injected a repository, scoped or not scoped. The repository only supplies data for tenantless (current tenant is null) records of the entity (entity is a MultiTenant entity). But the system has many tenants. As i see the repository only supplies tenantless records when there is not a current tenant.
I want to inject my entity repository to reach all the records of my entity from all the sources, i mean all the tenant and not tenant related records (tenantfull and tenantless).
How can i do this? Thanks.
As far as i can see, things have changed. We used code generation with early 2.* versions. So before this there were only ApplicationService. Anyway our system now uses old mechanism.
There is no such method named "ApplyPaging" in abstract class "Volo.Abp.Application.Services.ApplicationService".
Abp suite CRUD code generation creates GetListAsync methods in Applications Services, but this method gives paged results.
Is there a way to get all the data with this method without implementing a new GetList method?
Task<PagedResultDto<EntityDto>> GetListAsync(GetEntityInput input)
Same issue Volo.Abp.AbpException: Could not find the bundle file '/libs/abp/utils/abp-utils.umd.min.js' from IWebContentFileProvider in Separated Identity Server
Okay this fixed the problem, thanks.