Available ONLY for: Axeda Gateway and Axeda Connector Agents
After you select a script-related instruction, the Package Instructions page displays the options for the script:
o Register Script instruction - Type a display name for the script, the name of the file containing the script and path (if necessary), and select the check box if you want this package to be the auto-deploy package for the script. This instruction causes the Agent to execute any instructions in the [REGISTER] section of the specified script sequence.
o Unregister Script instruction - Select the name of a script whose [UNREGISTER] section you want the Agent to run.
o Run Script instruction - Select the name of the script whose [RUN] section you want the Agent to run. Each command in this section is executed synchronously. The running state of a script is the current command issued, including the time it has been running. When an error occurs running a script, the Agent sends a script error status to the Axeda® Platform, including the line number of the script where the error occurred. If [RUN] isn't there, the entire script is executed sequentially.
Note: AWP Agents and Axeda
IDM Agents support two types of package instructions: downloading files
to the agent and uploading files from the agent. Axeda Agent Embedded
supports file uploads and file downloads; they also support the Restart
instruction. These Agents ignore any other instructions defined in a package.
That said, if the package is an IDM SoftwareDirector package, then the
Execute instruction is required to perform the software update for the
IDM Agent. For details about creating an IDM SoftwareDirector package
to update the software for your IDM Agents, refer to Guidelines
for Creating IDM SoftwareDirector Packages.