Show TOC

Working with TasksLocate this document in the navigation structure

Use

The Tasks section of SAP NetWeaver Scheduler for Java allows you to view details about existing scheduler tasks as well as to create, remove, hold, or release scheduler tasks.

Note

To display all tasks, in the SAP NetWeaver Scheduler for Java , choose the Tasks tab.

Prerequisites

You have started the Java Scheduler .

Procedure

Viewing Tasks

  • In the Tasks screen area, you can view all tasks that have been created.

  • You also see a description of each task, if such a description was entered when the task was created.

  • In the Status column you can see if the task is active or if its execution has been put on hold .

    • To activate or deactivate a task, select it and choose the Hold or Release pushbuttons, respectively.

    • To cancel a task, select it and choose Cancel .

      Note

      A task scheduled by a ZeroAdmin-template cannot be canceled, it can only be set to hold . A ZeroAdmin task is a task, which belongs to a usage, which comes with the installation of the system.

  • To sort jobs ascending or descending according to column content, select the heading of the column you want to sort.

  • To filter columns, use the standard filtering pushbutton.

Creating a Task

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

More information: Creating a Scheduler Task.

Displaying Tasks Details

Use the TaskDetails screen area to view detailed of an existing task.

  • To display the general information about a certain task, choose the GeneralInfo tab.

    The following information is displayed:

    Field

    Meaning

    Task ID

    Unique ID of the task.

    Task Status

    Explains why this task is in the current state.

    Name

    The name of the task defined during its creation.

    Job Definition ID

    Unique ID of the job definition, which is executed by the task.

    Job Definition Name

    The name of the job definition, which is executed by the task.

    Application Name

    The name of the application with which the job is deployed.

    Scheduling User

    The user that has created the task.

    Run As User

    The user under which the jobs are executed.

    Retention Period

    The retention period determines the number of days for which the job logs are persisted in the database.

    Description

    The description of the task defined during its creation.

    Task Source

    The task source where the tasks come from ( Zero-Admin or User-Task ).

  • To see which parameters have been set for the job definition by the task, choose the Parameters tab.

    All parameters with their name, description, and given value appear.

  • To view the time when the task was scheduled, choose the following:

    • Cron tab

      The page contains information if the cron conditions have been set for the task. That is,

      the date and time and the period at which an instance of a job definition runs relative to the start of the month and the year.

      More information: Setting Cron Start Conditions

    • Recurring tab

      The page contains information if the recurring conditions have been set for the task. That is, the start and end date and time and the period at which an instance of a job definition runs.

      More information: Setting Recurring Start Conditions

  • To view the predefined periods when the task must not run, choose the Filter tab.

    A filter defines a timeframe when the task must not run. If you need a filter, you must set it programmatically.