Is it possibe to execute a shell script or command line prompt from a groovy service?
Client has "NDM +Secure" installed on the same server as Avoka TM. NDM is repsonsible for transferring the PDF Receipt from one server to another much like SFTP. Once I create the PDF I want to execute a shell command like this: Runtime.getRuntime().exec("send.sh filea fileb");
TM blocks the execution of "runtime" so I can't use the above command.
TM does not support executing shell scripts or Java processes via a Groovy service. This is an intentional security restriction to prevent the execution of malicious OS scripts or processes.
To achieve your objective you could write a OS shell script coupled with a cron job send these files using NDM.