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

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 example...


Interactive example...



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.

  1. datasourceJNDIName (default value is jdbc/lrsched)

  2. databaseSchemaName (default value is LRSSCHEMA)

  3. deploymentTarget (default value is none)

  4. endpointJobLogLocation (default value is ${GRID_JOBLOG_ROOT})

  5. enableUsageRecording (default value is false)

  6. 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 value

The command returns the job scheduler object ID.


Batch example...


Interactive example...



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 value

The command returns the properties object ID.


Batch example...


Interactive example...



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 value

The command returns the properties object ID.


Batch example...


Interactive example...



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 parameters

None


Return value

The command returns the properties object ID.


Batch example...


Interactive example...



listJobSchedulerProperties

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 example...


Interactive example...


Scripting batch applications


Related


Administrator scripting interfaces

+

Search Tips   |   Advanced Search