Configure Scripts To Run Automatically - Digi TX40 User Manual

Table of Contents

Advertisement

Applications

Configure scripts to run automatically

You can configure a script or a python application to run automatically when the system restarts, at
specific intervals, or at a specified time. By default, scripts execute in a "sandbox," which restricts
access to the file system and available commands that can be used by the script.
Required configuration items
n
Upload or create the script. The script must be uploaded to /etc/config/scripts or a
subdirectory.
n
Enable the script.
n
Select whether the script should run:
When the device boots.
l
At a specified time.
l
At a specified interval.
l
During system maintenance.
l
Additional configuration items
n
If the script is a Python application, include the full path to the script.
n
A label used to identify the script.
n
The action to take if the script finishes. The actions that can be taken are:
None.
l
Restart the script.
l
Reboot the device.
l
n
Whether to write the script output and errors to the system log.
n
If the script is set to run at a specified interval, whether another instance of the script should
be run at the specified interval if the previous instance is still running.
n
The memory available to be used by the script .
n
Whether the script should run one time only.
Task one: Upload the application
Web
Log into the TX40 WebUI as a user with full Admin access rights.
1. On the menu, click System. Under Administration, click File System.
TX40 User Guide
Set up the TX40 to automatically run your applications
815

Advertisement

Table of Contents
loading

Table of Contents