Batch file runs the module succesfully but no output genrated.

Hi All,

I write a batch file which executes a module. In that module I just use one csv reader and csv writer but when I used a batch file to run that module it returns succesfull. Butout csv file is not generated by module. Need urgent on this.

This is my batch file

C:
cd Program Files (x86)\knime_2.11.3
knime -consoleLog -nosplash -noexit -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="X:\KnimeWorkspace\KNIME_project2"

Hi Ashique,

Options for the batch executor are here:

Usage: The following options are available:

 -nosave           => do not save the workflow after execution has finished

 -reset            => reset workflow prior to execution

 -failonloaderror  => don't execute if there are errors during workflow loading

 -updateLinks      => update meta node links to latest version

 -credential=name[;login[;password]] => for each credential enter credential

                      name and optional login/password, otherwise its prompted for

 -masterkey[=...]  => prompt for master password (used in e.g. database nodes),

                      if provided with argument, use argument instead of prompting

 -preferences=...  => path to the file containing eclipse/knime preferences,

 -workflowFile=... => ZIP file with a ready-to-execute workflow in the root 

                      of the ZIP

 -workflowDir=...  => directory with a ready-to-execute workflow

 -destFile=...     => ZIP file where the executed workflow should be written to

                      if omitted the workflow is only saved in place

 -destDir=...      => directory where the executed workflow is saved to

                      if omitted the workflow is only saved in place

 -workflow.variable=name,value,type => define or overwrite workflow variable

                      'name' with value 'value' (possibly enclosed by quotes). The

                      'type' must be one of "String", "int" or "double".

Some KNIME settings can also be adjusted by Java properties;

they need to be provided as last option in the command line:

 -vmargs -Dorg.knime.core.maxThreads=n => sets the maximum

                  number of threads used by KNIME

 

The following return codes are defined:

    0    upon successful execution

    2    if parameters are wrong or missing

    3    when an error occurs during loading a workflow

    4    if an error during execution occurred

You can try:

knime -consoleLog -reset -nosplash -noexit -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="X:\KnimeWorkspace\KNIME_project2"