Remote RMX-3200 Version 5.2x Configuration Guide
Configuring Jobs: Configuring a Job with a Job Property
23-8
Configuring a Job with a Job Property
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,
Configuring a Job
with a Script Package and Script on page 23-7
has been completed.
To configure a job with a job property:
1. At the main prompt, enable output capture for job
printlog
:
config jobs name printlog capture
2. Configure job
printlog
with job property
capture_text
and assign it the
property value of
Hello World
:
config jobs name printlog property capture_text “Hello World”
Note:
To include spaces or special characters, quotes must be included.
By entering job property value
hello world
, job
printlog
will run script
capture_example
and pass runtime job property
capture_text
. This indicates
that value
Hello World
will be written to the stdout.log and stderr.log files located
in the job’s data directory on Remote RMX-3200.
3. (optional) Verify that the job has been configured with the proper job property:
show jobs name printlog properties
The command response similar to the following displays:
4. Save the configuration.
5. Run job
printlog
:
exec-job printlog run
A run ID is assigned.
In this scenario, you will configure a
job
that uses a script that prints a string of text
to two log files. During runtime, the two files will be created in the job’s data
directory when job capture is enabled.
(Dub)>show jobs name printlog properties
Name Value
capture_text Hello World
(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...