RoboTarefaEmpresa.Execute

The job is finished. It will be removed automatically 06/20/2026 08:05:54.
// Job ID: #269864
using Cont360.PortalCliente.Servicos.TarefaEmpresa;

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

Parameters

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

State

06/19/2026 08:05:54 (+2m 49.770s) Succeeded

Latency:
2m 52.228s
Duration:
2m 48.118s

+520ms Processing

Server:
ln1xsdlwk000dug:71
Worker:
fb441ed3

+23.730s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+173ms Scheduled

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

Enqueue at:
06/19/2026 08:02:58

+2m 26.460s 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:beba0673-41b9-4ec3-8e8f-b3467d395749
Error Number:-2,State:0,Class:11
ClientConnectionId before routing:9826fb5f-9b78-4ee5-a382-81ac33a4c1ed
Routing Destination:c8043cfae685.tr3011.brazilsouth1-a.worker.database.windows.net,11006
   --- 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 91
   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)

+90ms Processing

Server:
ln1xsdlwk000dug:71
Worker:
d4710622

+107ms Enqueued

Triggered by recurring job scheduler

Queue:
default

06/19/2026 08:00:13 Created