Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Administration Guide


7.6 Defining a local date and time for the scheduler service

You can define a local date and time for the scheduler service, for a host, that is not the date and time used by the system. For example, if you want to simulate a task before actually executing it, define a local date and time for the scheduler service so that you can execute the operation test without changing the system date and time. This function allows you to test nighttime processing during the daytime.

The definition of a local date and time for a scheduler service is valid only for a particular scheduler service.

Only an OS user who has administrator privileges or superuser privileges can perform this operation.

The following table describes when the local date and time for the scheduler service are applied.

Table 7‒6: Date and time to be applied when the local date and time for the scheduler service are defined

Type of date and time

Date and time to be applied

Date and time that the scheduler service can control

(date and time for starting and ending a jobnet, and time for starting the scheduler service, other than for jobs, event jobs, and action jobs that are executed in JP1/AJS3 - Agent)

Scheduler service local date and time

Date and time used when the date and time specification is omitted (for example, when a schedule is temporarily changed)

Scheduler service local date and time

Date and time of log data output by the scheduler service

Scheduler service local date and time

Timestamp of a file created and updated by JP1/AJS3

System date and time

Date and time of log data output to the system logging file

System date and time

Time when an event is received and time when an event arrives

System date and time

Time that a command beginning with ajs is executed

Scheduler service local date and time

Time that a command not beginning with ajs is executed

System date and time

JP1 events with event IDs is 4100 to 4131

Scheduler service local date and time

Use the ajslocaldate command to define a local date and time for the scheduler service. For details about the ajslocaldate command, see ajslocaldate in 4. Commands Used for Special Operation in the manual JP1/Automatic Job Management System 3 Command Reference.

Cautionary notes
  • To change a local date and time for the scheduler service, stop the scheduler service, change the date and time, and then restart the scheduler service. To return to the original date and time, use the jajs_spmd_stop command with -n jajs_schd specified to stop only the scheduler service. After executing this command, execute the jajs_spmd command with the -cold option and -n jajs_schd specified to restart the scheduler service. For details about the jajs_spmd_stop and jajs_spmd commands, see jajs_spmd_stop in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference and jajs_spmd in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

  • After being set, the local date and time for the scheduler service takes effect at the next restart.

  • The local date and time for the scheduler service are generated based on the system date and time. If you change the system date and time, the change is also applied to the local date and time for the scheduler service. If you have changed the system date and time, make sure that the local date and time for the scheduler service will be correct.

  • To use a local date and time for the scheduler service in a cluster system, execute the ajslocaldate command on both the executing host and standby host.