Hello,
I've performed basic endOfDayJob Setup and I'm able to run this using my batch-test and it works as expected.
Now, I've added Quartz scheduler to run it every end of day. however, it throws the exceptions like
each job execution should be specific to the day it is being executed. I know it is controlled by JobParameters but where and how do I specify it?Code:org.springframework.batch.core.repository.JobExecutionAlreadyRunningException: A job execution for this job is already running: JobInstance: id=172, version=0, JobParameters=[{}], Job=[loadFile] at org.springframework.batch.core.repository.support.SimpleJobRepository.createJobExecution(SimpleJobRepository.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618)


Reply With Quote