Executable job plug-in
The executable job plug-in is included in the HCL Universal Orchestrator installation and it enables you to create executable jobs in the Workload Designer.
An executable job runs scripts or commands with advanced options, such as redirecting standard input and standard output to a file.
A description of the job properties and valid values are detailed in the context-sensitive help in the Dynamic Workload Console by clicking the question mark (?) icon in the top-right corner of the properties pane.
Attribute | Description/value | Required |
---|---|---|
application name | executable | ✓ |
value | Specify the name and value of one or more arguments. | |
task | Tasks can be either commands or scripts. Use
Use
|
✓ |
suffix | Specify the file name extension for the script to be run by the job. This option applies only to jobs that run on Windows operating systems. Do not insert the "." at the begin of the extension name. |
netstat
command to show detailed network status
information:$job
/LNX_AGENT#/EXECUTABLE
TASK
{
"executable" : {
"interactive" : false,
"path" : "netstat",
"credential" : { }
}
}
RECOVERY STOP REPEATEVERY 0000
$job
/LNX_AGENT#/EXEC_SCRIPT
TASK
{
"executable" : {
"interactive" : false,
"suffix" : "",
"script" : "ping %1 ping %2",
"credential" : {
"arguments" : {
"arguments" : [ {
"value" : "www.mysite.com"
}, {
"value" : "www.yoursite.com"
} ]
}
}
}
}
RECOVERY STOP REPEATEVERY 0000
suffix
attribute of the
script
tag:$job
/WIN_AGENT#/EXEC_VBS
TASK
{
"executable" : {
"interactive" : false,
"workingDirectory" : "c:\\uno",
"suffix" : "vbs",
"script" : "Wscript.Echo \"loremipsum\"",
"credential" : { }
}
}
RECOVERY STOP REPEATEVERY 0000