예제 #1
0
 public async Task Run([TimerTrigger(Every30Minutes)] TimerInfo timer)
 {
     try
     {
         await _jobManagementService.CheckAndProcessTimedOutJobs();
     }
     catch (Exception exception)
     {
         _logger.Error(exception, "An error occurred executing timer trigger 'check-job-timeout'");
         throw;
     }
 }