Configure Scripts To Run Automatically - Digi IX40 User Manual

Table of Contents

Advertisement

Applications
n

Configure scripts to run automatically

n
Show script information
n
Stop a script that is currently running
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
IX40 User Guide
Set up the IX40 to automatically run your applications
692

Advertisement

Table of Contents
loading

Table of Contents