You can use the Jython or Jacl scripting languages to configure the job scheduler with the wsadmin tool. The commands and parameters in the JobSchedulerCommands command group can be used to manage configuration attributes and custom properties.
The showJobSchedulerAttributes command shows all configuration attributes of the job scheduler.
Target object
None
Required parameters
None
Optional parameters
None
Return value
The command returns a list of all attributes of the job scheduler.
Batch mode example usage
$AdminTask showJobSchedulerAttributes
AdminTask.showJobSchedulerAttributes()
Interactive mode example usage
$AdminTask showJobSchedulerAttributes
AdminTask.showJobSchedulerAttributes()
The modifyJobSchedulerAttribute command modifies a configuration attribute of the job scheduler.
Target object
None
Required parameters
Optional parameters
Return value
The command returns the job scheduler object ID.
Batch mode example usage
$AdminTask modifyJobSchedulerAttribute {-name datasourceJNDIName -value "jdbc/ds"}
AdminTask.modifyJobSchedulerAttribute('[-name datasourceJNDIName -value jdbc/ds]')
Interactive mode example usage
$AdminTask modifyJobSchedulerAttribute {-interactive}
AdminTask.modifyJobSchedulerAttribute('[-interactive]')
The createJobSchedulerProperty command creates custom properties for the job scheduler.
Target object
None
Required parameters
Optional parameters
Return value
The command returns the properties object ID.
Batch mode example usage
$AdminTask createJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}
AdminTask.createJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')
Interactive mode example usage
$AdminTask createJobSchedulerProperty {-interactive}
AdminTask.createJobSchedulerProperty('[-interactive]')
The modifyJobSchedulerProperty command modifies custom properties for the job scheduler.
Target object
None
Required parameters
Optional parameters
Return value
The command returns the properties object ID.
Batch mode example usage
$AdminTask modifyJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}
AdminTask.modifyJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')
Interactive mode example usage
$AdminTask modifyJobSchedulerProperty {-interactive}
AdminTask.modifyJobSchedulerProperty('[-interactive]')
The removeJobSchedulerProperty command removes custom properties of the job scheduler.
Target object
None
Required parameters
Optional parameters
None
Return value
The command returns the properties object ID.
Batch mode example usage
$AdminTask removeJobSchedulerProperty {-name bjsProp1}
AdminTask.removeJobSchedulerProperty('[-name bjsProp1]')
Interactive mode example usage
$AdminTask removeJobSchedulerProperty {-interactive}
AdminTask.removeJobSchedulerProperty('[-interactive]')
The listJobSchedulerProperties command lists all of the custom properties the job scheduler.
Target object
None
Required parameters
None
Optional parameters
None
Return value
The command returns a list of all of the custom properties of the job scheduler.
Batch mode example usage
$AdminTask listJobSchedulerProperties
AdminTask.listJobSchedulerProperties()
Interactive mode example usage
$AdminTask listJobSchedulerProperties
AdminTask.listJobSchedulerProperties()