JobExecutionAlreadyRunningException: A job execution for this job is already running

By | 2022년 9월 1일
Table of Contents

JobExecutionAlreadyRunningException: A job execution for this job is already running

UPDATE 
    BATCH_JOB_EXECUTION 
SET 
    END_TIME = NOW(), 
    STATUS = 'FAILED', 
    EXIT_CODE = 'COMPLETED' 
WHERE 
   JOB_EXECUTION_ID = 2489
      (SELECT 
         MAX(JOB_EXECUTION_ID) 
       FROM 
         BATCH_JOB_EXECUTION 
       WHERE 
         JOB_INSTANCE_ID = 2
      );

답글 남기기