Feb 5th, 2009, 02:28 PM
want to run springbatch sample without using QUARTZ or other schedulars.
I'm new to spring batch. I executed FootBall job using Quartz schedular
succesfully. In my real time requirment, I don't need to use any schedular,as we are having ctrl+m schedular, that will trigger the batch job.
I want to execute Football sample with out using schedular. I tried to run the sample using TaskExecutor Launcher, and getting the following exception.
Started application. Please connect using JMX (remember to use -Dcom.sun.management.jmxremote if you can't see anything in Jconsole)
my bean configuration in simple-jab-launcher.xml is as follows
<bean id="jobLauncher" class="org.springframework.batch.core.launch.suppo rt.SimpleJobLauncher">
<property name="jobRepository" ref="jobRepository" />
<bean class="org.springframework.core.task.SyncTaskExecu tor" />
I'm running out of time, and any your help would be highly appreciated.
Feb 5th, 2009, 02:37 PM
If you just want to launch a job from the command line you can use the CommandLineJobRunner.