Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
JobSchedulerCommands command group
Use the Jython or Jacl scripting languages to configure the job scheduler with wsadmin.sh. The commands and parameters in the JobSchedulerCommands command group can be used to manage configuration attributes and custom properties.
Use the following commands to manage the job scheduler:
- showJobSchedulerAttributes
- modifyJobSchedulerAttribute
- createJobSchedulerProperty
- modifyJobSchedulerProperty
- removeJobSchedulerProperty
- listJobSchedulerProperties
showJobSchedulerAttributes
The showJobSchedulerAttributes command shows all configuration attributes of the job scheduler.
Target object
None
Required parametersNone
Optional parametersNone
Return valueThe command returns a list of all attributes of the job scheduler.
Batch example...
- Use Jacl
$AdminTask showJobSchedulerAttributes
- Use Jython
AdminTask.showJobSchedulerAttributes( )
Interactive example...
### Jacl
$AdminTask showJobSchedulerAttributes### Jython
AdminTask.showJobSchedulerAttributes( )
modifyJobSchedulerAttribute
The modifyJobSchedulerAttribute command modifies a configuration attribute of the job scheduler.
Target object
None
Required parameters
-name
Name of the attribute to modify. (String) The following attributes are supported.
- datasourceJNDIName (default value is jdbc/lrsched)
- databaseSchemaName (default value is LRSSCHEMA)
- deploymentTarget (default value is none)
- endpointJobLogLocation (default value is ${GRID_JOBLOG_ROOT})
- enableUsageRecording (default value is false)
- enableUsageRecordingZOS (default value is false)
Optional parameters
-value
Value of the attribute. (String) If not specified, the default value for the respective attributes is assigned.
Return valueThe command returns the job scheduler object ID.
Batch example...
### Jacl
$AdminTask modifyJobSchedulerAttribute {-name datasourceJNDIName -value "jdbc/ds"}### Jython
AdminTask.modifyJobSchedulerAttribute('[-name datasourceJNDIName -value jdbc/ds]')
Interactive example...
### Jacl
$AdminTask modifyJobSchedulerAttribute {-interactive}### Jython
AdminTask.modifyJobSchedulerAttribute ('[-interactive]')
createJobSchedulerProperty
The createJobSchedulerProperty command creates custom properties for the job scheduler.
Target object
None
Required parameters
-name
Name of the custom property to create. (String)
-value
Value of the custom property. (String)
Optional parameters
-description
Description of the custom property. (String)
Return valueThe command returns the properties object ID.
Batch example...
### Jacl
$AdminTask createJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}### Jython
AdminTask.createJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')
Interactive example...
### Jacl
$AdminTask createJobSchedulerProperty {-interactive}### Jython
AdminTask.createJobSchedulerProperty ('[-interactive]')
modifyJobSchedulerProperty
The modifyJobSchedulerProperty command modifies custom properties for the job scheduler.
Target object
None
Required parameters
-name
Name of the custom property to modify. (String)
-value
Value of the custom property. (String)
Optional parameters
-description
Description of the custom property. (String)
Return valueThe command returns the properties object ID.
Batch example...
### Jacl
$AdminTask modifyJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}### Jython
AdminTask.modifyJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')
Interactive example...
### Jacl
$AdminTask modifyJobSchedulerProperty {-interactive}### Jython
AdminTask.modifyJobSchedulerProperty ('[-interactive]')
removeJobSchedulerProperty
The removeJobSchedulerProperty command removes custom properties of the job scheduler.
Target object
None
Required parameters
-name
Name of the custom property to remove. (String)
Optional parametersNone
Return valueThe command returns the properties object ID.
Batch example...
### Jacl
$AdminTask removeJobSchedulerProperty {-name bjsProp1}### Jython
AdminTask.removeJobSchedulerProperty('[-name bjsProp1]')
Interactive example...
### Jacl
$AdminTask removeJobSchedulerProperty {-interactive}### Jython
AdminTask.removeJobSchedulerProperty ('[-interactive]')
listJobSchedulerProperties
The listJobSchedulerProperties command lists all of the custom properties the job scheduler.
Target object
None
Required parametersNone
Optional parametersNone
Return valueThe command returns a list of all of the custom properties of the job scheduler.
Batch example...
### Jacl
$AdminTask listJobSchedulerProperties### Jython
AdminTask.listJobSchedulerProperties( )
Interactive example...
### Jacl
$AdminTask listJobSchedulerProperties### Jython
AdminTask.listJobSchedulerProperties( )
Related
Administrator scripting interfaces