Defining holiday assignments using the Job Scheduler
See Job Scheduler.
- Select Maintenance > System Administration > Job Scheduler.
- Click Add Schedule.
- Specify a unique and descriptive name for the task in the Task Description field.
-
Do one of these actions:
- Select the Java Task option and select Holiday Assignment Task from the drop-down list.
- Select the Shell script option and specify the customized task shell script.
-
Assign the task to a specific scheduler in the
Task Affinity drop-down
list.
By assigning tasks to various schedulers, the system can distribute the running of tasks across different schedulers, which may be running on different servers.
- In the Scheduled Time section, specify the time of day when the task will be run in the Run at field.
- Optionally, change the time zone in the Timezone field. By default, your local time zone is used.
-
In the Scheduling Time section, select one of these options:
- Once: Schedules only one run for this task.
- Daily: Schedules runs by intervals of days and minutes.
- Weekly: Schedules runs by day of week.
- Monthly: Schedules runs by month and by day of month.
-
If you selected
Daily, do one of these
actions:
- Specify the number of days between runs in the Every ... Day(s) field.
- Specify the number of seconds between runs in the Interval ... Second(s) field. The application allows for a minimum of 5 seconds between runs. A value of -1 indicates that the field is not used.
- If you selected Weekly, select the check boxes to indicate on which day of the week the task will be run.
-
If you selected
Monthly, do one of these
actions:
- Select the Day ... Of option and specify the day of month to indicate which date the task will be run on.
- Select the Of option and select the week of the month and the day of week to indicate which day the task will be run on. For example, you can select second and Thursday to run the task every second Thursday of the month.
Then select the check boxes for the months of the year the task will be run on.
If you do not select a month, the task will not run.
- In the Scheduling Range section, select the date the task run will begin in the Start On field.
- Optionally, select the end date of the task run in the End By field. If you leave the field blank, the task will run indefinitely.
- Click Submit.
-
Click
OK.
The new Holiday Assignment task is displayed in the list on the main Job Scheduler Task Schedules page.