Skip to Content
0

RUN HCI JOB only when Trigger file exists.

Mar 16, 2017 at 04:35 PM

37

avatar image

Hi ,

JOB - Load from Flat file to IBP

My requirement is that HCI job needs to run the job and load data only when there is triiger file in the path mentioned.

I'm using the script below in the Pre-Load of execution properties.

file_exists('C:\HCI\Data\FILENAME.trigger');

I have a file placed in the above path and the job ran successfully, when I deleted the .trigger file and ran the job. Even then the job ran successfully.

I don't want the job to load data when there is no trigger file, How do I achieve this ??

Thanks,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers