Windows Server 2008

Task scheduler issues

Reported with Windows Server 2008 (confirmed to work fine with Windows Server 2003, Vista and others):

Normally the "Start in" field has the same value as the path to Kettle and in this case works with other operating systems. In Win 2008 it seems it does not set the folder correctly or other problems prevent it from starting Java.

A workaround is to have a wrapper batch file like this example wrapper.bat:

cd "C:\Program Files\Kettle 3.0.4"
call "C:\Program Files\Kettle 3.0.4\Kitchen.bat" /rep:"somerep" /job:"somejob" /dir:yourdir /user:joe /pass:password /level:Basic > C:\LOG\Kettlelog.log

For trouble shooting, you could put a "pause" after the last line.