Developing Java CAPS Projects

Adding and Setting Up Schedulers

Figure 3 Scheduler Icon

Image of a Scheduler icon.

A Scheduler allows a service to be performed at a prescribed interval. It is treated as an external application, and must be deployed to a Scheduler External System in the runtime Environment.

As with other Project components, scheduler names can contain alphanumeric characters (letters and numbers), dashes, and underscores. The following special characters also can be used in scheduler names: <, >, &.

Note that:

ProcedureTo Add a Scheduler to the Project

  1. If this is the first scheduler to be added to the Project, select the Scheduler icon from the External Application menu in the Connectivity Map Editor. This adds the icon to the editor's toolbar.

  2. Drag the Scheduler icon from the toolbar onto the canvas and link it to the appropriate service. The connector icon appears as a red dot, indicating that it is not configured.

  3. Configure the schedule and the time zone as described in the following procedures.

  4. Click the Generate Connectivity Map icon to add the scheduler to the Project in the Repository.

ProcedureTo Configure the Schedule

  1. Select the appropriate schedule type, either from the Projects window or by accessing the Properties dialog. Selecting the type displays the properties for that type. For example, Weekly on day displays entry fields for the day of the week and the time.

  2. Click in the value field to edit the value (a drop-down menu may be displayed).

    Figure 4 Scheduler Properties Dialog: Schedule

    Screen capture of Scheduler Properties dialog.
Details described in content.

ProcedureTo Configure the Time Zone

  1. Select Time Zone to display the Time Zone entry field.

  2. Click in the value field to display the menu, and select the time zone with which you want the Scheduler to be synchronized.

    Figure 5 Scheduler Properties Dialog: Time Zone

    Screen capture of Scheduler Properties dialog.
Details described in content.