You use the Script Agent to run scripts in client devices according to your requirements.
● You have deployed the script on the mobile device.
● The script language is supported on the mobile device.
● The Script Agent is deployed.
You can determine when the script runs. The script can run on the device once, at startup, at synchronization time, or at specified time intervals recurrently.
Parameters for SCRIPT
Parameters |
Description |
Possible Values |
AGENT_MODE |
Activate or deactivate script execution. |
ON, OFF |
script_n |
Script name, where n is numbered consecutively, starting with 0. |
Value format: command;type Command is any executable with an absolute path (complete path) and type can be sync, startup, once, or a number representing the interval in milliseconds. A brief description of the meaning of these script types and the order in which these script types are executed follow: 1. startup: the script is executed each time the mobile client is started. 2. once: the script is executed once when the mobile client is started. 3. time interval in milliseconds: the script is executed in a specified time interval when the mobile client is started. 4. sync: the script is executed when synchronization starts. |
You define script name and type as the agent parameter and assign the value for the script in the DOE by using SAP NetWeaver Mobile Administrator. Use the SCRIPT as the agent ID to set a value for each script.