Show TOC

Creating a Scheduler TaskLocate this document in the navigation structure

Prerequisites

Context

You use the Tasks tab page of SAP NetWeaver Scheduler for Java to create scheduler tasks as well as to view details about existing scheduler tasks.

You create a scheduler task to set start conditions for a job definition. Instances of the job definition, or jobs, execute when the specified start conditions are fulfilled.

For more information, see Scheduler Job Start Conditions .

In the SAP NetWeaver Scheduler for Java , you can set time-based start conditions for recurring and cron execution of jobs. You can set multiple recurring and cron start conditions for a job definition for the same scheduler task.

Procedure

  1. From the Navigation pane on the left, choose Tasks .
  2. Choose Add .

    The Add Task wizard opens at step Select Job . The table below guides you through the steps of the wizard.

    Step Number

    Step Name

    Procedure

    1

    Select Job

    1. From the list of available job definitions, choose the job definition for which you want to create a scheduler task.

    2. Choose Next.

    2

    Set Task Properties

    1. On the Details tab page, proceed as follows:

      1. Enter a name and a free-text description of the task.

      2. In the Retention Period box, enter a value. For more information about the possible values and their meaning, see the retention-period entry in job-definition.dtd .

        For more information, see job-definition.dtd .

    2. If the job definition has job parameters that provide input for the jobs, on the Parameters tab page, enter values for the parameters.

      For more information, see Job Definition .

    3. Choose Next

    3

    Set Task Properties Set Execution Time

    Set start conditions for the jobs. You can set any of the following types of time-based start conditions:

  3. Choose Finish .

Results

The scheduler task is created. To see the entry for the task, choose Tasks from the navigation pane on the left.