private void ExcuteJob(object obj) { try { _jobExcutor?.StartJob(_cancellationToken).Wait(_cancellationToken); } catch (Exception e) { LogUtil.Error($"执行任务({nameof(GetType)})时出错,信息:{e}", String.Empty, "System_TimerJob"); } }
private void ExcuteJob(object obj) { _jobExcutor?.StartJob(_cancellationToken).Wait(_cancellationToken); }