pkona
7 years agoFormer Employee
Call a command line utility on the Snaplex node
Created by @pkona
This pipeline pattern uses the Script Snap (here labeled Execute Script Snap) to call a command line utility on the Snaplex node. This pipeline calls any allowed shell command on the Snaplex node and the command is executed as the Snap user that is running the JCC process. In this sample the command can be configured in the Mapper Snap.
Configuration
Sources: Python Script
Targets: JSON File
Snaps used: Mapper, Script, JSON Formatter, File Writer
Downloads
Pattern to call-shell-command using Script Snap on Snaplex node.slp (6.8 KB)