RoboTarefaEmpresa.Execute

The job is finished. It will be removed automatically 02/22/2026 08:04:12.
// Job ID: #262441
using Cont360.PortalCliente.Servicos.TarefaEmpresa;

var roboTarefaEmpresa = Activate<RoboTarefaEmpresa>();
await roboTarefaEmpresa.Execute(null, null);

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"Tarefa Empresa"
RetryCount
1
Time
1771660807

State

02/21/2026 08:04:12 (+1m 46.800s) Succeeded

Latency:
2m 18.191s
Duration:
1m 46.661s

+16ms Processing

Server:
ln0xsdlwk0007b0:69
Worker:
5bb8a8ec

+42.324s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+23ms Scheduled

Retry attempt 1 of 10: Ocorreu um erro ao executar o servico

Enqueue at:
02/21/2026 08:02:24

+1m 35.670s Failed

An exception occurred during performance of the job.

MC.Exceptions.ServiceException

Ocorreu um erro ao executar o servico

MC.Exceptions.ServiceException: Ocorreu um erro ao executar o servico
 ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
 ---> System.ComponentModel.Win32Exception (258): Unknown error 258
   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task`1 result)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at MC.AspNetCore.Log.DefaultLogger.AddLogMessageAsync[T](String idIntegracao, String descricao, String message, IUserContext userContext, String stacktrace, CancellationToken ct)
   at MC.AspNetCore.Log.ServiceLogger.DefaultServiceLogger.AddEntries(IEnumerable`1 auditEntries, String id, CancellationToken ct)
   at MC.AspNetCore.Log.ServiceLogger.DefaultServiceLogger.LogSucess(DateTime inicio, IEnumerable`1 auditEntries, CancellationToken ct)
   at Cont360.PortalCliente.Model.Models.ModelContext.SaveChangesAsync(CancellationToken cancellationToken) in D:\a\1\s\Cont360.PortalCliente.Model\Models\ModelContext.cs:line 147
   at Cont360.PortalCliente.Model.Models.ModelContext.SaveChangesAsync(CancellationToken cancellationToken) in D:\a\1\s\Cont360.PortalCliente.Model\Models\ModelContext.cs:line 175
   at MC.EntityFramework.DefaultImpl.UnitOfWork.UnitOfWork.CommitAsync(CancellationToken ct)
   at MC.EntityFramework.DefaultImpl.Service.Service`1.CommitAsync(IUserContext userContext, ServiceException exception, CancellationToken ct)
ClientConnectionId:ee8016db-f89a-45b0-b23f-1760109d9e5c
Error Number:-2,State:0,Class:11
ClientConnectionId before routing:2ee18ac3-1205-4f18-99f9-d565ac2981c9
Routing Destination:fd3928035744.tr1017.brazilsouth1-a.worker.database.windows.net,11030
   --- End of inner exception stack trace ---
   at MC.EntityFramework.DefaultImpl.Service.Service`1.RollbackAsync(TService service, IUserContext userContext, ServiceException exception, CancellationToken ct)
   at MC.EntityFramework.DefaultImpl.Service.Service`1.ExecuteAsync(TService service, IUserContext userContext, CancellationToken ct)
   at Cont360.PortalCliente.Servicos.TarefaEmpresa.RoboTarefaEmpresa.SetProxima(TarefaEmpresa task, IUserContext userContext, CancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\TarefaEmpresa\RoboTarefaEmpresa.cs:line 90
   at Cont360.PortalCliente.Servicos.TarefaEmpresa.RoboTarefaEmpresa.Execute(PerformContext context, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\TarefaEmpresa\RoboTarefaEmpresa.cs:line 46
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+80ms Processing

Server:
ln0xsdlwk0007b0:69
Worker:
5bb8a8ec

+67ms Enqueued

Triggered by recurring job scheduler

Queue:
default

02/21/2026 08:00:07 Created