
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)>
Summary of Contents for RMX-3200
Page 322: ...Remote RMX 3200 Version 5 2x Configuration Guide Drop and Continue Functionality Failover 27 6...
Page 382: ...Remote RMX 3200 Version 5 2x Configuration Guide Glossary 32...
Page 386: ...Remote RMX 3200 Version 4 1x Configuration Guide 1 4...
Page 388: ...Remote RMX 3200 Version 5 1x Configuration Guide Copyrights 2...