Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Jobs: Configuring a Job with a Script Package and Script
23-7
Configuring a Job with a Script Package and Script
Important:
This procedure assumes that files named
captureScript.py
,
echoScript.py
,
PackageManifest.xml
and
__init__.py
have been
authored on a local workstation and the procedure,
Creating and
Installing a Script Package on page 23-5
has been completed.
To configure a job with a script package and script:
1. At the main prompt, create job
printlog
:
config jobs name printlog
2. Configure job
printlog
to use script package
examplescript
and script
capture_example
and define the minimum acceptable version level for an
installed package as
1.0.0
:
config jobs name printlog script examplescript capture_example
1.0.0
3. (optional) Verify that the job has been configured with the proper script package
and script:
show jobs name printlog status
The command response similar to the following displays:
4. Save the configuration.
In this scenario, you will configure a
job
with a script that prints a string of text to two
log files (stdout.log and stderr.log).
(Dub)>show jobs name printlog status
Job: printlog
Package: examplescript
Min version: 1.0.0
Script: capture_example
Cron start: disabled
Start at boot: disabled
Memory limit (Kb): 1024
Output capture: disabled
Max start attempts: 1
Run state: idle
(Dub)>
Содержание RMX-3200
Страница 64: ...Remote RMX 3200 Version 5 2x Configuration Guide Configuring Network Setup Parameters Configuring SNMP 5 16...
Страница 102: ...Remote RMX 3200 Version 5 2x Configuration Guide Configuring the Bridge Group Configuring STP on the Bridge Group 9 6...
Страница 142: ...Remote RMX 3200 Version 5 2x Configuration Guide Configuring Event Correlations Configuring an Event Correlation 14 8...
Страница 210: ...Remote RMX 3200 Version 5 2x Configuration Guide Configuring DHCP Configuring DHCP Client Support 19 10...
Страница 266: ...Remote RMX 3200 Version 5 2x Configuration Guide Configuring Jobs Configuring Dynamic Memory for a Job 23 14...
Страница 316: ...Remote RMX 3200 Version 5 2x Configuration Guide Using Configuration Wizards Using the serial port Wizard 26 10...
Страница 322: ...Remote RMX 3200 Version 5 2x Configuration Guide Drop and Continue Functionality Failover 27 6...
Страница 342: ...B 4 Remote RMX 3200 Version 5 2x Configuration Guide WAN Port Availability Remote RMX 3200 Models and Ports...
Страница 382: ...Remote RMX 3200 Version 5 2x Configuration Guide Glossary 32...
Страница 386: ...Remote RMX 3200 Version 4 1x Configuration Guide 1 4...
Страница 388: ...Remote RMX 3200 Version 5 1x Configuration Guide Copyrights 2...