Hitachi

JP1 Version 12 JP1/Client Process Automation Configuration and Administration Guide


5.6.1 Schedule functions

CPA uses the schedule functions to start the job at the scheduled dates and times by calculating its scheduled execution dates and times. The scheduled dates and times are determined based on execution date, execution time, and calendar, each of which can be defined as schedule items, namely, an execution date item, an execution time item, and a calendar item. You can use the defined schedule items during the registration of a job in the Job Design View.

Organization of this subsection

(1)  Execution date items

This item defines the dates on which to execute a job.

You can create an execution date item by using the Exec. date dialog box, which you can open from the Item Design View. For details on the Exec. date dialog box, see 7.2.4 Exec. date dialog box.

The following table describes the settings you can specify for an execution date item.

Table 5‒8: Settings of execution date items

No.

Type

Setting

Setting type

Note

1

Set start day#1#2

Year, month, and date

Day#3

Open day#3

Closed day#3

yyyy/mm/dd#4

Number X Day

Number Y Open day

Number Z Closed day

The job is executed on the date specified here.

Specify Number X Day to execute the job at a weekly, monthly, or yearly cycle, Number Y Open day to execute the job every open day specified, and Number Z Closed day to execute the job every closed day specified.

Specify a number denoting how many days after the beginning of the specified year and month the job begins.

2

Execution cycle

No cycle

No cycle (One day only)

When this option is selected, the job is executed only on the date specified as the start date.

3

Everyday

Execute everyday

When this option is selected, the job is executed everyday starting from the date specified as the start date.

4

Every operation day

Execute in every operation day

When this option is selected, the job is executed every open day specified in the calendar, starting from the date specified as the start date.

5

Every closed day

Execute in every close day

When this option is selected, the job is executed every closed day specified in the calendar, starting from the date specified as the start date.

6

Every week

Execute in every X day

When this option is selected, the job is executed every Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday, starting from the date specified as the start date.

7

Every month

Execute the job on a specific date, a specific day of the week, the last day, the specified open day, or the specified closed day of each month.

When this option is selected, the job is executed every month starting from the date specified as the start date. When the job is to be executed on the specified open day or closed day of each month, the open day or closed day on which to execute the job is determined based on the calendar that defines the open days or closed days.

8

Every year

Execute the job on a specific date, a specific day of the week, X days prior to month-end, or Number Y Open day/Closed day of each year.

When this option is selected, the job is executed every year starting from the date specified as the start date. When the job is to be executed on the specified open day or closed day of each year, the open day or closed day on which to execute the job is determined based on the calendar that defines the open days or closed days.

9

Transfer setting

Not execute in close days

Not execute in close days

When any of the job execution dates determined based on the start date and the cycle happens to fall on a closed day, the job will not be executed on those days.

10

Can execute even in closed days

Can execute even in closed days

Even when some of the execution dates determined based on the start date and the cycle happen to fall on a closed day, the job will still be executed on those days.

11

Transfer in to a open day before the scheduled execute day and execute

One open day before a job execution date becomes the substitute job execution date.

In a case where some of the execution dates determined based on the start date and the cycle happen to fall on a closed day, one open day before a job execution date that falls on a closed day becomes the substitute job execution date.

12

Transfer in to a open day after the scheduled execute day and execute

One open day after a job execution date becomes the substitute job execution date.

In a case where some of the execution dates determined based on the start date and the cycle happen to fall on a closed day, one open day after a job execution date that falls on a closed day becomes the substitute job execution date.

#1

If this setting is omitted, the value of the registration date is used.

#2

The start date you specify here is automatically set as the start date of the valid time frame for job execution which you can set when you register a job from the Job Design View. You cannot change the automatically set start date of the valid time frame for job execution from the Job Design View. When you do not specify a start date here, the scheduled dates and times for job execution are determined based on the valid time frame for job execution specified during the registration of the job.

#3

Specify a date that exists for the start date. If a date that does not exist is specified as the start date of an execution date item and the item is used to register a job, the KNAO4025-E and KNAO4019-E errors occur, causing the scheduled execution date and time not to be determined.

#4

When English is selected as the language setting, is automatically converted to mm/dd/yyyy.

For details on the language settings, see 2.6 Language setting.

(2)  Execution time items

This item defines the time at which to execute a job.

You can create an execution time item by using the Exec. time dialog box, which you can open from the Item Design View. For details on the Exec. time dialog box, see 7.2.5 Exec. time dialog box.

The following table describes the settings you can specify for an execution time item.

Table 5‒9: Settings of execution time items

No.

Type

Setting

Setting type

Note

1

Set execute time

Scheduled start time

hh:mm

The job is executed at the time specified here. You can specify a value in the range from 00:00 to 23:59.

2

Shift time

Execute from start time of ope.time period hh:mm later than the scheduled job start time

The job is executed at the start time of the operation time period defined in the calendar.

3

Time across day

Previous day / Next day hh:mm

The job is executed at the set time but on the day before or after the determined job execution date.

4

Repetition setting

Execute in every fixed time after started execution

hh:mm

This setting specifies the interval for repeatedly executing the job that starts running at the time specified as the start time. The job is repeated during the operation time period.

If a calendar is omitted, the job is repeated during a period from 00:00 to 23:59 on the job execution date.

If the set interval is too short, the job does not end in time for the next interval to start, which can cause a scheduled run to be skipped or restrict the number of actions that can be executed at a time. For this reason, we recommend that you set an adequate interval so that it does not cause a problem during operation.

(3) Calendar items

This item specifies open days, closed days, and an operation time period.

You can create a calendar item by using the Calendar dialog box, which you can open from the Item Design View. For details on the Calendar dialog box, see 7.2.3 Calendar dialog box.

You can also use the Job Design View to define or edit calendar items. Note, however, that a calendar item defined in the Item Design View cannot be edited in the Job Design View.

The following table describes the settings you can specify for a calendar item.

Table 5‒10: Settings of calendar items

No.

Type

Setting

Setting type

Note

1

Open days and closed days

Week

Mo, Tu, We, Th, Fr, Sa, Su

This setting allows you to specify the day of the week as open days or closed days. The information you specify here can be used to control both the start date and the cycle of job execution.

2

Certain date

Specified dates on the calendar

This setting allows you to specify certain dates as open days or closed days. The information you specify here can be used to control both the start date and the cycle of job execution.

3

Operation time period

Start time

hh:mm of the previous, current, or next day

This setting allows you to specify the start time of the operation time period during which to execute a job in the range from 00:00 to 23:59 of the previous, current, or next day. The information you specify here can be used to control the start time of job execution.

End time

hh:mm of the previous, current day, or next day

This setting allows you to specify the end time of the operation time period during which to execute a job in the range from 00:00 to 23:59 of the previous, current, or next day. The information you specify here can be used to control the range of job execution times determined based on the set cycle of job execution.