Unix Execute
In this article
- 1 Overview
- 1.1 Snap Type
- 1.2 Prerequisites
- 1.3 Limitations
- 1.4 Known Issues
- 2 Snap Views
- 3 Snap Settings
- 4 Snap Pack History
Overview
You can use Unix Execute Snap to transfer data files from SSH to a remote machine and execute tasks.
Snap Type
The Unix Execute Snap is a Write-type Snap that writes data to a remote machine.
Prerequisites
None.
Limitations
The Unix commands are OS-level commands. If you want to run the
RMstar
command, and if that star is in the root directory, the command deletes that root directory because the JCC has delete permissions.The Unix Snap runs in JCC with the associated JCC privileges. However, you cannot limit the permissions.
Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| Each document contains data in JSON format. |
Output | Document |
|
| Each document contains corresponding response in JSON format. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
Snap Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the field set.
Remove icon ( ): Indicates that you can remove fields from the field set.
Upload icon ( ): Indicates that you can upload files.
Field Name | Field Type | Description |
---|---|---|
Label* Default Value:Â 30 | String | Specify a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. |
Command* Default Value: N/A | String/Expression | Enter the command to write data files and execute tasks. |
Fail on non-zero exit status Default Value:Â deselected | Checkbox | Select this checkbox to fail the Snap when the exit status is non-zero. |
Execute during preview Default Value:Â deselected | Checkbox | Select this checkbox to execute the Snap during the Save operation so that the output view can produce the preview data. |
Snap Execution  Default Value: Execute Only | Dropdown list | Specifies the execution type:
|
Snap Pack History
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.