Show TOC

Scheduling JobsLocate this document in the navigation structure

Use

You can use the SAP NetWeaver Administrator to schedule jobs that run on the application server with the plug-in SAP NetWeaver Scheduler for Java .

Note

To start SAP NetWeaver Scheduler for Java , in the SAP NetWeaver Administrator, choose Start of the navigation path Operation Next navigation step Jobs Next navigation step Java Scheduler End of the navigation path. You can also use the quick link http://<host>:<port>/nwa/scheduler .

The SAP NetWeaver Scheduler for Java implements an object-oriented approach to developing and scheduling jobs. You use it to create tasks and handle their maintenance. A task schedules the execution of a job definition which is already developed and deployed on the application server. The executions of a job definition are called job definition instances (jobs).

For more information, see Scheduler Job Definition, Job, and Task .

Procedure

Using Job Definitions

You use the SAP NetWeaver Developer Studio to implement a job.

Jobs are implemented on the basis of message-driven beans. A message-driven bean containing a job is called a JobBean. The execution of JobBeans is handled by the EJB container.

For more information, see Developing and Scheduling Jobs .

After you have developed and deployed a job definition, the system displays it on the Job Definitions tab page of the SAP NetWeaver Scheduler for Java . You can then schedule tasks to execute the definition.

For more information, see Viewing Job Definitions .

Creating Tasks

You create tasks to schedule the execution of a job definition for a given time.

When you create a task you define the following:

  • The job definition that already exists on the application server that you want to execute.

  • Which input parameters the job definition must run with.

    These are the concrete values for the defined parameters, which are passed to the job during the execution of the job.

  • When the job definition must be executed.

For more information, see Creating Scheduler Task .

Viewing Job Executions

On the Jobs tab page, you can view the status of the executions of the job definitions, called job definition instances or jobs. Jobs can be completed, running, or failed. You can view the status as well as detailed job information.

For more information, see Working with Jobs .

Using External Schedulers

You use the External Schedulers tab to register and deregister external schedulers, which can control the internal scheduler. You use this feature to maintain and trigger jobs from a single scheduler within the whole landscape.