TeacherAbsenteeismJob.Execute

// 任务编号: bf08e341-4afa-4dfc-8b9c-8cd54a807868
using Vickn.Platform.Schools.TeacherAttendances.Work;

var teacherAbsenteeismJob = Activate<TeacherAbsenteeismJob>();
teacherAbsenteeismJob.Execute(
    FromJson<TeacherAbsenteeismJobArgs>("{\"TenantId\":223,\"AttendanceRuleId\":2402,\"Time\":\"2026-06-05T00:00:00\"}"));
RetryCount
1
CurrentUICulture
"zh-CN"
CurrentCulture
"zh-CN"

状态

2026/6/4 22:01:36 (+841ms) Succeeded

Latency:
3h 1m
Duration:
833ms

+4ms Processing

Server:
wocloud-win:51804
Worker:
cfe4e929

+40.132s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 1 of 10: Execution Timeout Expired. The timeout period el…

Enqueue at:
2026/6/4 22:01:25

+35.045s Failed

An exception occurred during performance of the job.

Microsoft.Data.SqlClient.SqlException

Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

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): 等待的操作过时。
   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_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.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Vickn.Platform.Schools.TeacherAttendances.TeacherAttendanceManager.GetAbsenteeismAsync(Int64 attendanceRuleId, DateTime time)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.<>c__DisplayClass6_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   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 Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Vickn.Platform.Schools.TeacherAttendances.Work.TeacherAbsenteeismJob.Execute(TeacherAbsenteeismJobArgs args)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Abp.Domain.Uow.UnitOfWorkInterceptor.InterceptSynchronous(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()

+5ms Processing

Server:
wocloud-win:51804
Worker:
b218cef3

+3h Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Enqueue at:
2026/6/4 22:00:13

2026/6/4 19:00:13 Created