Action:
You may either edit a script, upload it to the system or select one of the example
scripts or an already uploaded script
You are ready to set up a job afterwards, it can be created by using the following parameters:
Name:
A meaningful name to identify the job
Trigger:
Specifies the trigger that should launch the job
Script:
Specifies the script to be executed
Arguments:
Defines arguments which can be passed to the script (supports quoting), they will
precede the arguments you formerly may have assigned to the script itself
Testing
/* Check the current NTP server and set it to the IP address 192.168.0.2
and enable the NTP synchronisation */
printf ("The NTP server was previously using IP address: ");
printf (nb_config_get("network.ntp.server0"));
printf("\n\n");
nb_config_set("network.ntp.server0=192.168.0.2");
if (nb_config_get ("network.ntp.status") == "0"){
printf ("and was not running.");
printf("\n\n");
nb_config_set ("network.ntp.status=1");
}
else {
printf ("and was running.");
printf("\n\n");
}
printf ("The NTP server is now running with IP address: ");
printf (nb_config_get("network.ntp.server0"));
The testing page offers an editor and an input field for optional arguments which can be used to perform
test runs of your script or test dedicated portions of it. Please note that you might need to quote argu-
ments as they will otherwise be separated by white-spaces.
MG102iGPRS/UMTS/HSPA+/LTE router – © RACOM s.r.o.
106
Web Configuration
Summary of Contents for MG102i
Page 2: ......
Page 147: ...147 RACOM s r o MG102iGPRS UMTS HSPA LTE router Web Configuration...
Page 174: ...174...