+

Search Tips   |   Advanced Search

WSScheduleCommands (AdminTask)

We can use the Jython or Jacl scripting languages to manage deployed applications with wsadmin.sh. The commands and parameters in the WSScheduleCommands group manage scheduler settings in the configuration. Schedulers enable J2EE application tasks to run at a requested time.

The WSScheduleCommands (AdminTask) includes the following commands:


deleteWSSchedule

The deleteWSSchedule command deletes the settings of a scheduler from the configuration.

Parameters and return values

-name

The name that uniquely identifies the scheduler. (String, required)

Examples

Batch mode example:

Interactive mode:


getWSSchedule

The getWSSchedule command returns the settings of the specified scheduler.

Parameters and return values

-name

The name that uniquely identifies the scheduler. (String, required)

Examples

Batch mode example:

Interactive mode:


listWSSchedules

The listWSSchedules command lists the scheduler.

Parameters and return values

-displayObjectNames

Set to true to list the key set configuration objects within the scope. Set false to list the strings containing the key set group name and management scope. (Boolean, optional)

Examples

Batch mode example:

Interactive mode:


modifyWSSchedule

The modifyWSSchedule command changes the settings of an existing scheduler.

Parameters and return values

-name

The name that uniquely identifies the scheduler. (String, required)

-frequency

The period of time in days to wait before checking for expired certificates. (Integer, optional)

-dayOfWeek

The day of the week to check for expired certificates. (Integer, optional)

-hour

The hour of the day to check for expired certificates. (Integer, optional)

-minute

The minute to check for expired certificates. Use this parameter with the hour parameter. (Integer, optional)

-nextStartDate

The next time, in seconds, to check for expired certificate. (Long, optional)

Examples

Batch mode example:

Interactive mode:


Related tasks

  • Use the wsadmin scripting AdminTask object for scripted administration

  • Commands (AdminTask)