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.
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.
● You have started the Java Scheduler.
● A job definition is deployed on the AS Java.
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: a. Enter a name and a free-text description of the task. b. 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. 2. If the job definition has job parameters that provide input for the jobs, on the Parameters tab page, enter values for the parameters. 3. Choose Next. |
3 |
Set Execution Time |
Set start conditions for the jobs. You can set any of the following types of time-based start conditions: ● Recurring For more information, see Setting Recurring Start Conditions. ● Cron For more information, see Setting Cron Start Conditions. ● Simple The job runs one at a specified point in time. For more information, see Setting Simple Start Conditions. |
3. Choose Finish.
The scheduler task is created. To see the entry for the task, choose Tasks from the navigation pane on the left.