You are not logged in.
I have a project with a lot of jobs. I need to control the execution of the job manually with an Intranet web site.
However, my solution needs to create bat file automatically. So I look the cron command and the instructions send don't use the jar file generate by "Export script job".
So how I can create bat files with using this model ? I want execute job in command line without create an Export script job before.
However, my solution needs to create bat file automatically.
You can't create the bat file automatically. If you wanna execute serval jobs, you can create a father job and use tRunJob components to run all the child jobs.(for example, tRunJob--OnSubOK-->tRunJob...), then only export the father job scripts manually.
After exporting the job scripts, you can click on the bat file ro run the job or put the job scripts on webserver and run it. (see [Forum, topic 1686] how to use jasperETL in my WebApp ?)
So I look the cron command and the instructions send don't use the jar file generate by "Export script job".
After exporting the job scripts, there are some jar files like systemRoutines.jar in the lib folder. And you can see the bat file use these jar file:
java -Xms256M -Xmx1024M -cp ../lib/systemRoutines.jar;../lib/userRoutines.jar;.;test_0_1.jar;childbjo_0_1.jar;../lib; shongdemo.test_0_1.test --context=Default