Reputation: 1434
I am trying to make a batch file to schedule it on Windows Task Scheduler to run a Pentaho Data Integration transformation with pan.bat
The thing is that I run successfuly each line of the code below, but when I try to run the batch file, it does not fail (according to the log file) but does not reproduces the expected results.
cd "C:\Program Files\Pentaho\data-integration\"
call Pan.bat /file="C:\Users\username\Desktop\transformation.ktr" /logfile="C:\Users\username\Desktop\log_transformation.txt" /loglevel=Detailed
exit
Anyone faced such a problem?
Thanks in advance.
Upvotes: 0
Views: 2520
Reputation: 856
Try redirecting the pan.bat output to a text file by using
pan.bat >> somefile.txt
for standard output and
pan.bat 2> some_error.txt
for error output. Maybe what you see will get you further.
Details: https://technet.microsoft.com/en-us/library/bb490982.aspx
Upvotes: 1