Activities of "Dicky.tech@gmail.com"

I added the footer callback, added the collumn 5 (the collumn i want to add totals) but it did work

Let me run some tests

@liangshiwei as per the logs you've shared. Every seconds the recurring job is running and executing.

It should every 5 minutes only. That's the issue.

Below is my class worker class and how am calling it

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{ 
context.AddBackgroundWorkerAsync<SyncLeavePlans>();
}
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.BackgroundWorkers;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Modularity;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Threading;
using Volo.Saas.Tenants;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Linq.Expressions; 
using Volo.Abp.BackgroundWorkers.Hangfire;
using Hangfire;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Uow;
using System.Threading;

namespace API.Integrations
{
    public interface ISyncLeavePlans : IHangfireBackgroundWorker
    {
    }    

    [DependsOn(
          typeof(AbpBackgroundWorkersModule),
          typeof(AbpMultiTenancyModule),
          typeof(AbpBackgroundJobsModule)
          )]
    [ExposeServices(typeof(ISyncLeavePlans))]
    public class SyncLeavePlans : HangfireBackgroundWorkerBase, ISyncLeavePlans
    { 
        [Obsolete]
        public SyncLeavePlans(       ) 
        {
            RecurringJobId = "ISyncLeavePlans";
            CronExpression = Cron.MinuteInterval(5);
        }
        [UnitOfWork]
        public override async Task DoWorkAsync(CancellationToken cancellationToken)
        {
            Logger.LogInformation("Starting:...");
             
            Logger.LogInformation("Completed:...");
        }
    }

}

After running the project, we see the below two jobs. Executed in milliseconds.

Abp 6.0 datatables totals

How can I add totals row on the datatables generated by abp ?

The issue is each time the app re starts it add a new recurring jobs instead of updating existing

Question

Deleted.

Have implemented hangfire for background jobs.

Firstly being wondering if this reduces resources utilization since my iis cpu and ram usage is high.

Am using recurring jobs. Every 5 minutes.

Seems every time I run the project, a new recurring job is created , how can I avoid this ?

I tried to change the token expiry time span but still its 3598.

How change change so that client don't have to request every hour ? perhaps every 48 hours ?

PreConfigure<OpenIddictServerBuilder>(builder => { builder.SetAccessTokenLifetime(TimeSpan.FromMinutes(720)); builder.SetIdentityTokenLifetime(TimeSpan.FromMinutes(720)); });

I Am unable to change the favicon. I checked on the header and it references /images/favicon/logo-favicon_1.svg .

I tried to change the below and it shows favicon which is not clear.

--lpx-logo-icon: url('../../images/favicon/favicon.svg');

As per below, I created the .css files, it works well on local host. on publishing to the server, it doesn't work, how do i make it work ?

Lastly, where can i change the below cookie consent widget background colors from ?

Showing 11 to 20 of 97 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54