Show TOC Start of Content Area

Procedure documentation Setting Cron Start Conditions  Locate the document in its SAP Library structure

Use

You set cron start conditions for a job definition when you want jobs to run once or periodically on a day relative to the start/end of the month. With cron start conditions, you define the minute, the hour, the day of week and/ or month, and the year when you want the job to run.

Prerequisites

Steps Select Job and Set Task Properties of the Add Task Wizard are complete. For more information, see Creating a Scheduler Task.

Procedure

       1.      Choose the Cron tab.

       2.      In the Details section, define the job’s schedule by entering values for the fields.

Each field has a possible range of the values it can take, as specified in the table below:

Field

Possible Value

Year

2006 – infinity

Month

0 – 11.

0 stands for January.

Day of month

1 – 31

Day of week

1 – 7.

1 stands for Sunday, 2 – for Monday, and so on.

Hour

0 – 23

Minute

0 – 59

For more information about the possible values in each of the fields and the rules that apply to those values, see the Field Ranges and Operators sections in Scheduling Jobs with Cron Start Conditions.

       3.      In the Time Zone field, enter a time zone.

       4.      Choose Add to add the cron start conditions to the scheduler task.

       5.      Repeat the procedure to add more cron start conditions to the scheduler task.

Result

An entry for the cron start conditions is displayed in the Cron Time Table.

Now, you can:

      Set recurring start conditions for the job definition

      Set simple start conditions for the job definition

      Save the scheduler task by finishing the Add Task Wizard. See Creating a Scheduler Task.

Example

You want instances of a job definition to run in your current time zone every quarter of the eighth hour, on every weekend in October, November, and December of 2006. The table below shows how the values in the Details section should look like:

Cron Start Conditions

Field

Value

Day

*

Day of Week

7,1

Hour

8

Minute

*/15

Month

9,10,11

Year

2006

Time zone

<your current time zone>

 

 

 

End of Content Area