Hitachi

JP1 Version 12 JP1/Automatic Operation Administration Guide 


1.5.2 Process of recurring execution

If you specify recurring execution as the schedule type for a service, JP1/AO generates the first task as soon as you submit the service. This task is executed when the scheduled start time arrives, at which point a second task is generated. The process of executing and generating tasks continues in this way according to the schedule (time and interval) specified for the service.

A generated task remains in Waiting status until execution of the task begins.

Note that task processing might be delayed if the previous task has not finished when the scheduled start time arrives. The following figure shows an example of a service scheduled for recurring execution at 9:00 every Monday:

Figure 1‒8: Example of recurring execution

[Figure]

  1. Service submitted by user (at 12:00 on Wednesday)

    A user submits the service with recurring specified as the schedule type, and an execution schedule of 9:00 every Monday. At this point, JP1/AO generates the first task.

  2. First recurring execution (9:00 on Monday of week 1)

    JP1/AO executes the first task at the scheduled start time, and then generates the second task.

  3. Second recurring execution (9:00 on Monday of week 2)

    JP1/AO executes the second task at a time determined by the scheduled start time and interval, and then generates the third task.

  4. Third recurring execution (9:00 on Monday of week 3)

    If the second task has not finished by the next scheduled start time, JP1/AO executes the third task and generates the fourth when the second task finishes.

  5. Fourth recurring execution (9:00 on Monday of week 5)

    JP1/AO executes the fourth task at the first occurrence of the scheduled start time (determined by the time and interval) after the fourth task is generated. At this time, the fifth task is also generated.

    The process of executing and generating tasks continues in this manner.

You cannot change the schedule for a service after you have submitted it for execution. If you need to change the schedule, stop any generated tasks and re-submit the service with the new schedule.