Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi run cmd script (.bat)

Highlighted

Nifi run cmd script (.bat)

New Contributor

Hello all,

 

I have tried several configurations to run batch scrip (cmd) in Windows following a schedule using nifi. I think this configuration should work using ExecuteProcess processor but no....

If I run ".bat" file outside nifi it works fine.

Could someone help me? I have googled without results.

 

Thanks in advance.

 

Capture.PNG

1 REPLY 1

Re: Nifi run cmd script (.bat)

@alex15   I suspect the issue you have is that nifi use is not able to execute the script.

Make sure the user ownership of the file is correct, also confirm read/write permissions.  In unix/linux these are chown and chmod.   

 

 

If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  

 

Thanks,


Steven

 


 


If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  


 


Thanks,



Steven

Don't have an account?
Coming from Hortonworks? Activate your account here