Synopsis
[To register/change] jobschsethol -ent definition file [To delete] jobschsethol -del calendar name
Description
The jobschsethol command registers, changes and deletes holidays in the calendar.
Options
-ent
Based on the information in the definition file, registers and changes holidays in the calendar.
definition file
Specifies the name of the file storing the holiday information control statement.
For more details on the holiday information control statement, see "4.2.1 Holiday Information Control Statement".
-del
Deletes calendars other than the SYSTEM_CALENDAR.
calendar name
Specifies the name of the calendar to be deleted, excluding the SYSTEM_CALENDAR.
Command Location
Windows | Systemwalker Operation Manager installation directory\MpWalker.JM\bin |
Solaris | /usr/bin |
Privilege Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Cautions
Holidays in the Calendar can be registered/changed/deleted only by a system administrator (user belonging to the Administrator group or superuser). General users cannot use the jobschsethol command.
The Calendar being quoted by a job net cannot be deleted.
If the SYSTEM_CALENDAR is changed from a Working day to a holiday, the pattern information for the associated power control will be lost. Also, if it is changed from a holiday to a Working day, the pattern of power control is set to the standard pattern (except for HP-UX, AIX).
This command overwrites existing holidays in the Calendar and recreates new holidays. Therefore, the existing holidays information individually is cleared. Set up the holidays information again as necessary.
You cannot set the option of "Specify the reschedule date" by using this command.
If the [Halt recreation of startup days] option is not selected in the [Use function2] sheet in the [Define Jobscheduler Startup Parameters] window, note the following:
If the Calendar being quoted by a job net is changed, the job net startup days are reset based on the new Calendar. After changing the Calendar, make sure and modify the job net startup days (settings for exception days). In addition, even if the "Specify the reschedule date" option is specified, startup days of the job net will be reset based on the new Calendar regardless of the specified reschedule date.
This command only requests the server to change the holiday calendar, which means that completing the command does not guarantee that these changes have been applied to the startup days of each job net on the server. Therefore, after executing this command, the changes may be reflected in the startup days of each job net after an extended period.
By using this command, when you create a new holiday calendar with the same name as the one already existing, the already existing calendar will be overwritten and recreated. Therefore, this makes the contents of the existing calendar the same as the contents of control statement in the newly created calendar.