CheckPriceChangeTask.ProcessRecurringAsync

// Job ID: #4235929
using EkolPY.Integration.Manager.Tasks;

var checkPriceChangeTask = Activate<CheckPriceChangeTask>();
await checkPriceChangeTask.ProcessRecurringAsync(
    null,
    "default",
    FromJson<TaskType>("{\"Id\":69,\"SystemName\":\"CheckPriceChange\",\"Name\":\"Koşullu Fiyat Değişikliği Başlat / Bitir\",\"JobClassName\":\"CheckPriceChangeTask\",\"Type\":\"Recurring\",\"Cron\":\"*/1 * * * *\",\"AccountId\":1,\"SalesChannelOption\":1,\"AccountOption\":1,\"SalesChannelOptionEnum\":1,\"AccountOptionEnum\":1,\"CreatedOnUtc\":\"2024-01-17T11:19:00\",\"UpdatedOnUtc\":\"2024-01-17T11:19:00\",\"IsActive\":true,\"TaskTypeSalesChannel\":[{\"Id\":169,\"TaskTypeId\":69,\"SalesChannelId\":1,\"CreatedOnUtc\":\"2024-01-17T08:24:05.179603\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.179603\",\"IsActive\":true},{\"Id\":170,\"TaskTypeId\":69,\"SalesChannelId\":2,\"CreatedOnUtc\":\"2024-01-17T08:24:05.245897\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.245897\",\"IsActive\":true},{\"Id\":171,\"TaskTypeId\":69,\"SalesChannelId\":3,\"CreatedOnUtc\":\"2024-01-17T08:24:05.308682\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.308682\",\"IsActive\":true},{\"Id\":172,\"TaskTypeId\":69,\"SalesChannelId\":7,\"CreatedOnUtc\":\"2024-01-17T08:24:05.371235\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.371235\",\"IsActive\":true},{\"Id\":173,\"TaskTypeId\":69,\"SalesChannelId\":9,\"CreatedOnUtc\":\"2024-01-17T08:24:05.434297\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.434297\",\"IsActive\":true},{\"Id\":175,\"TaskTypeId\":69,\"SalesChannelId\":14,\"CreatedOnUtc\":\"2024-01-17T08:24:05.56193\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.56193\",\"IsActive\":true},{\"Id\":176,\"TaskTypeId\":69,\"SalesChannelId\":15,\"CreatedOnUtc\":\"2024-01-17T08:24:05.625394\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.625394\",\"IsActive\":true},{\"Id\":174,\"TaskTypeId\":69,\"SalesChannelId\":10,\"CreatedOnUtc\":\"2024-01-17T08:24:05.498129\",\"UpdatedOnUtc\":\"2024-01-17T08:24:05.498129\",\"IsActive\":false},{\"Id\":292,\"TaskTypeId\":69,\"SalesChannelId\":26,\"CreatedOnUtc\":\"2025-11-06T10:34:23.263\",\"UpdatedOnUtc\":\"2025-11-06T10:34:27.333\",\"IsActive\":true}]}"));

Parameters

RecurringJobId
"CheckPriceChange"
Time
1776875538
CurrentCulture
"tr-TR"
CurrentUICulture
"en-US"

State

04/22/2026 16:33:52 (+1m 5.699s) Failed

An exception occurred during processing of a background job.

System.AggregateException

One or more errors occurred. (An exception has been raised that is likely due to a transient failure.)

System.AggregateException: One or more errors occurred. (An exception has been raised that is likely due to a transient failure.)
 ---> System.InvalidOperationException: An exception has been raised that is likely due to a transient failure.
 ---> System.TimeoutException: The operation has timed out.
   at Npgsql.Util.NpgsqlTimeout.CheckAndGetTimeLeft()
   at Npgsql.Util.NpgsqlTimeout.CheckAndApply(NpgsqlConnector connector)
   at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|195_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
   at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at System.Linq.AsyncEnumerable.<TryGetFirst>g__Core|95_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/FirstOrDefault.cs:line 130
   at System.Linq.AsyncEnumerable.<TryGetFirst>g__Core|95_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/FirstOrDefault.cs:line 132
   at System.Linq.AsyncEnumerable.<FirstOrDefaultAsync>g__Core|91_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/FirstOrDefault.cs:line 30
   at Ekol360.Core.Service.SettingService.SettingService.GetSettingByKeyAsync[T](String key, T defaultValue, Int32 storeId, Boolean loadSharedValueIfNotFound) in C:\Users\taner.er\source\repos\ekol360\Ekol360Core\Ekol360.Core.Service\SettingService\SettingService.cs:line 98
   at Ekol360.Core.Service.SettingService.SettingService.LoadSettingAsync(Type type, Int32 storeId) in C:\Users\taner.er\source\repos\ekol360\Ekol360Core\Ekol360.Core.Service\SettingService\SettingService.cs:line 153
   at Ekol360.Core.Service.SettingService.SettingService.LoadSettingAsync[T](Int32 storeId) in C:\Users\taner.er\source\repos\ekol360\Ekol360Core\Ekol360.Core.Service\SettingService\SettingService.cs:line 132
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Ekol360.Core.Service.IntegrationHandlerService.IntegrationHandlerService..ctor(ICoreUnitOfWork postgre, ISettingService settingService) in C:\Users\taner.er\source\repos\ekol360\Ekol360Core\Ekol360.Core.Service\IntegrationHandlerService\IntegrationHandlerService.cs:line 20
   at ResolveService(ILEmitResolverBuilderRuntimeContext , ServiceProviderEngineScope )
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context)
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)
   at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContext context, IEnumerable`1 filters)
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context)
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId)

+27.300s Processing

Server:
tanerer:16480
Worker:
5d387bc9

+385ms Enqueued

Triggered by recurring job scheduler

Queue:
default

04/22/2026 16:32:18 Created