This topic describes how to schedule a task.
Complete the following steps to schedule a task:
- In IBM® Director
Console, click .
- In the Scheduler window, double-click the
date on which you want the new job to start.
- In the New Scheduled Job window, specify information about when
the job will run:
- Select the Schedule the task to execute on a date
and time check box to assign a date and time to the job. If this
check box is cleared, the job is added to the jobs database, but it is not
activated automatically.
- In the Date field, type the date that
you want the job to run.
- In the Time field, select the time that you want the
job to run.
- Click the Task tab.
- On the Task page, in the Available pane, double-click the task
that you want the job to perform. The task is added to the Selected Task pane.
You can select multiple tasks for a single job. Each task is processed in
the order in which it is displayed in the Selected Tasks pane.
- Click the Targets tab.
- If you want to run the job on a managed system, on the Targets
page, in the Available pane, double-click a managed system. The managed system
is added to the Selected Group pane. Repeat this step until you have added
all of the managed systems on which you want to run the job.
- If you want to run the job on a group, click Use a group as
the target. The window is populated with group information. In the Available
pane, double-click the group. The group is added to the Selected Group pane.
You can select only one group as a target for any job.
- Click the Options tab.
- In the Options page, select job options. You can choose from the
following options:
- Delay execution on unavailable systems
- If you select this check box, the task will be performed on any offline
targeted managed objects as soon as they are online again.
If you do not
select this check box and a targeted object is offline at the time of job
activation, the job returns an error status.
- Execute on systems that are added to the target group
- (This option is available only if the job is targeted against a group.)
If you select this check box, the job remains active until it is cancelled. IBM Director
detects any new managed objects that are added to the target group, and the
scheduled job then is activated on those new managed objects.
- Execute in client time zone
- If you select this check box, the task is run at the designated time in
the local time zone of the target managed object.
Note: You cannot
schedule a job to repeat hourly and be run in the local time zone. Also, if
the start date of the first scheduled time zone occurs before the target managed
object date, the job cannot be created.
- Select execution history options:
- To limit the number of job records that are stored in the execution
history, select the Limit execution status check box
and specify the number of job records that are stored.
- To delete job records of a certain age, select the Delete
execution status check box and specify the number of days after
which job records are deleted.
- Specify when events are generated. You can choose from the following
options:
- Generate an event when a job execution completes successfully
- Generate an event when a job execution completes with errors
- Generate an event when a target system completes successfully
- An event is generated when a job is successfully run on a target system.
- Generate an event when a target system completes with errors
- An event is generated when errors occur as a job is run on a target system.
For example, if a target object does not respond, the target object is completed
with errors
- Click .
- In the Save Job window, type a descriptive name for the scheduled
job. Click OK.
- Click OK to close the confirmation message
window.