Hi All
I need some help,
I have created a bat job which executes perfectly.
I have created a Scheduled Tasks which runs the bat job at 12 everyday. Currently the CMD Opens up, its runs the job, once the job is finished the CMD remains open. However after the job has finished i want the CMD to close.
I believe i need to put “Exit” Somewhere in the code below. But i am unsure
Would appreciate any help available
This is my RunJob.bat code
SET PATH="C:\Pentaho\";%Path%;
@echo New job started via batch execution %date%
@echo New job started via batch execution %date%
C:
cd C:\
cd "C:/Pentaho_Jobs/ExtractOpps"
start kitchen.bat -file="C:\Pentaho_Jobs\ExtractOpps\ExtractOpps.kjb"
rem >> "C:/Pentaho_Jobs/ExtractOpps\log.txt"
I need some help,
I have created a bat job which executes perfectly.
I have created a Scheduled Tasks which runs the bat job at 12 everyday. Currently the CMD Opens up, its runs the job, once the job is finished the CMD remains open. However after the job has finished i want the CMD to close.
I believe i need to put “Exit” Somewhere in the code below. But i am unsure
Would appreciate any help available
This is my RunJob.bat code
SET PATH="C:\Pentaho\";%Path%;
@echo New job started via batch execution %date%
@echo New job started via batch execution %date%
C:
cd C:\
cd "C:/Pentaho_Jobs/ExtractOpps"
start kitchen.bat -file="C:\Pentaho_Jobs\ExtractOpps\ExtractOpps.kjb"
rem >> "C:/Pentaho_Jobs/ExtractOpps\log.txt"