7: Administration
UM Configuration BAT-C2
123
Release 01.0.00 04/2019
Notice: Python scripts could allow inadvertent resource usage or access. Use
care when installing and running scripts.
To Configure Application Settings
Using Web Manager
To configure application scripts, on the
Administration
page, click
Applications
on the
menu.
Using XML
Include in your file:
<configgroup name = "applications">
Script Settings
Description
Reserved Start Port
Enter the Reserved Start Port. The range is between 1024 and 65535.
Reserved Ports
Enter a Reserved Port. The range is between 2 and 32.
Script (Number)
Click the
Run
button to manually execute the script.
Note:
The script is run with configuration saved to the Flash.
Enabled
(checkbox)
Check the
Enabled
checkbox within a particular script to enable it. Uncheck the
checkbox to disable the script.
Run on startup
(checkbox)
Check the
Run on startup
checkbox within a particular script to have it run upon the
start up of the BAT-C2. Uncheck the checkbox to disable automatically running the
unit upon startup.
Run on shutdown
(checkbox)
Check the
Run on shutdown
checkbox within a particular script to have it run on
shutdown of the BAT-C2. Uncheck the checkbox to disable automatically running the
script upon shutdown.
Note:
Shutdown scripts which do not complete within 15 seconds (30 seconds for
scheduled reboots) will be terminated and BAT-C2 will be rebooted.
Script
Enter the path of the script to run.
Parameter
Enter the script parameters (if any).
Output
Enter output log file (if desired) for the script to redirect output of script to file. If the
name of output log contains "
%t
", it will translate it into time stamp (e.g.,
script1_%t.log => script1_2007-01-02_19-06-57.log
)
Uninstall (button)
Click the
Uninstall
button in a Python package to uninstall it.
Remove All
(button)
Click the
Remove All
button to uninstall all Python packages.
Filename (field)
Enter the package file name pathway in the file system and click the
Install
button to
install it.
Table 7-2 Script Settings