Digi IX20W-PR User Manual page 856

Table of Contents

Advertisement

Applications
3. Click System > Scheduled tasks > Custom scripts.
4. For Add Script, click .
The script configuration window is displayed.
Custom scripts are enabled by default. To disable, toggle off Enable to toggle off.
5. (Optional) For Label, provide a label for the script.
6. For Run mode, select Manual.
7. For Commands, type the commands that will execute the script.
n
If a Python script is being used, include the full path to the Python script. For example:
python /etc/config/scripts/test.py
n
If the script begins with #!, then the script will be invoked in the location specified by
the path for the script command. Otherwise, the default shell will be used (equivalent
to #!/bin/sh).
8. Script logging options:
a. Click to enable Log script output to log the script's output to the system log.
b. Click to enable Log script errors to log script errors to the system log.
If neither option is selected, only the script's exit code is written to the system log.
9. For Maximum memory, enter the maximum amount of memory available to be used by the
script and its subprocesses, using the format number{b|bytes|KB|k|MB|MB|M|GB|G|TB|T}.
IX20 User Guide
Configure scripts to run manually
856

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20Ix20wIx20-pr

Table of Contents