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
);