I have been trying to Execute R code from 60 server and that R is installed on 140 server. With below Execute command in QVW.
EXECUTE "\\172.17.114.140\C$\Program Files\R\R-3.3.2\bin\x64\Rcmd.exe" BATCH "\\172.16.19.60\E$\sh\Sh_Changes_Portfolio\ClaimPA_IT-harshal_ErrorFree60.r"
It works fine when i manually reload qvw. but when i scheduled it on QMC its failing everytime with attached error.
Please help on this. I tried executing that command from command prompt it worked. but not working through QMC.
Does the QMC service account have access to all the resources referenced by the command (including admin level to access the hidden C$ and E$ shares)?
Try below in Execute Command
wmic /node:YourServerIP /user:userName /password:passWord process call create 'cmd.exe /c call "YourBatPath"'
Modify as per your requirement.
is below Execute statement correct as per your command-
EXECUTE wmic /node:\\172.17.114.140 /user:QLIKSENSE\SBILSUADM /password:password process call create 'cmd.exe /c call "E:\sh\Sh_Changes_Portfolio\Fraud R code.bat"';