Job scheduler configuration AdminTasks

The following commands are available for the job scheduler:

Table 1. Job scheduler commands
Command name: Group name: Description: Target object: Parameters and return values: Examples:
showJobSchedulerAttributes JobSchedulerCommands group Shows all configuration attributes of the job scheduler. None
  • Parameters: None
  • Returns: A list of all attributes of the job scheduler.

Batch mode example usage:

  • Using Jacl:
    $AdminTask showJobSchedulerAttributes
  • Using Jython:
    AdminTask.showJobSchedulerAttributes( )

Interactive mode example usage:

  • Using Jacl:
    $AdminTask showJobSchedulerAttributes
  • Using Jython:
    AdminTask.showJobSchedulerAttributes( )
modifyJobSchedulerAttribute JobSchedulerCommands group Modifies a configuration attribute of the job scheduler. None
  • Parameters:
    name
    The name of the attribute to modify. This parameter is required. Current supported attributes are:
    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)
    value
    The value of the attribute. This parameter is optional. If not specified, the default value for the respective attributes will be assigned.
  • Returns: The job scheduler object ID.

Batch mode example usage:

  • Using Jacl:
    $AdminTask modifyJobSchedulerAttribute
    {-name datasourceJNDIName -value "jdbc/ds"}
  • Using Jython:
    AdminTask.modifyJobSchedulerAttribute('[-name datasourceJNDIName -value jdbc/ds]')

Interactive mode example usage:

  • Using Jacl:
    $AdminTask modifyJobSchedulerAttribute {-interactive}
  • Using Jython:
    AdminTask.modifyJobSchedulerAttribute ('[-interactive]')
createJobSchedulerProperty JobSchedulerCommands group Creates custom properties for the job scheduler. None
  • Parameters:
    name
    The name of the custom property to create. This parameter is required.
    value
    The value of the custom property. This parameter is required.
    description
    The description of the custom property. This parameter is optional.
  • Returns: The properties object ID

Batch mode example usage:

  • Using Jacl:
    $AdminTask createJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}
  • Using Jython:
    AdminTask.createJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')

Interactive mode example usage:

  • Using Jacl:
    $AdminTask createJobSchedulerProperty {-interactive}
  • Using Jython:
    AdminTask.createJobSchedulerProperty ('[-interactive]')
modifyJobSchedulerProperty JobSchedulerCommands group Modifies custom properties for the job scheduler. None
  • Parameters:
    name
    The name of the custom property to modify. This parameter is required.
    value
    The value of the custom property. This parameter is required.
    description
    The description of the custom property. This parameter is optional.
  • Returns: Properties object ID

Batch mode example usage:

  • Using Jacl:
    $AdminTask modifyJobSchedulerProperty {-name bjsProp1 -value "bjsprop1"}
  • Using Jython:
    AdminTask.modifyJobSchedulerProperty('[-name bjsProp1 -value bjsprop1]')

Interactive mode example usage:

  • Using Jacl:
    $AdminTask modifyJobSchedulerProperty {-interactive}
  • Using Jython:
    AdminTask.modifyJobSchedulerProperty ('[-interactive]')
removeJobSchedulerProperty JobSchedulerCommands group Removes custom properties of the job scheduler. None
  • Parameters:
    name
    The name of the custom property to remove. This parameter is required.
  • Returns: Properties object ID

Batch mode example usage:

  • Using Jacl:
    $AdminTask removeJobSchedulerProperty {-name bjsProp1}
  • Using Jython:
    AdminTask.removeJobSchedulerProperty('[-name bjsProp1]')

Interactive mode example usage:

  • Using Jacl:
    $AdminTask removeJobSchedulerProperty {-interactive}
  • Using Jython:
    AdminTask.removeJobSchedulerProperty ('[-interactive]')
listJobSchedulerProperties JobSchedulerCommands group Displays all of the custom properties the job scheduler. None
  • Parameters: none
  • Returns: A list of all of the custom properties of the job scheduler.

Batch mode example usage:

  • Using Jacl:
    $AdminTask listJobSchedulerProperties
  • Using Jython:
    AdminTask.listJobSchedulerProperties( )

Interactive mode example usage:

  • Using Jacl:
    $AdminTask listJobSchedulerProperties
  • Using Jython:
    AdminTask.listJobSchedulerProperties( )